|
CorTeX Core ABI 7
ToolTech Software · C++ library reference
|
Accelerates execution of ctxVirtualMachineProgram by compiler backens. More...
#include <ctxCompiler.h>
Public Member Functions | |
| virtual gzType * | getType () const |
| virtual gzBool | initialize ()=0 |
| virtual gzBool | hasError ()=0 |
| virtual gzString | getError ()=0 |
Static Public Member Functions | |
| static gzType * | getClassType () |
| static gzBool | parallelize () |
| static gzBool | execute (ctxVirtualMachineProgram *program, const ctxProgramExecution flags=CTX_PRG_EXEC_DEFAULT, ctxDetailedRegisterUse *register_use=NULL) |
| static gzBool | pinMemory (gzVoid *address) |
| static gzBool | waitMemory (gzVoid *address) |
| static gzBool | readMemory (gzVoid *address, gzUInt64 offset, gzUInt64 bytes, gzUInt64 stride=0, gzUInt32 count=1) |
| Makes count host byte ranges current after backend writes: the range k starts at address + offset + k * stride and is bytes long. | |
| static gzUInt32 | parallelInstructionCount () |
| static gzBool | installSystemCompiler (ctxCompilerTypes type=CTX_COMPILER_DEFAULT, gzString *error=nullptr) |
| static gzVoid | unInstallSystemCompiler () |
| static gzBool | hasSystemCompiler () |
Protected Member Functions | |
| virtual gzBool | parallelize_ ()=0 |
| virtual gzBool | execute_ (ctxVirtualMachineProgram *program, const ctxProgramExecution flags, ctxDetailedRegisterUse *register_use)=0 |
| virtual gzBool | pinMemory_ (gzVoid *address)=0 |
| virtual gzBool | waitMemory_ (gzVoid *address)=0 |
| virtual gzUInt32 | parallelInstructionCount_ ()=0 |
| virtual gzBool | readMemory_ (gzVoid *address, gzUInt64 offset, gzUInt64 bytes, gzUInt64 stride, gzUInt32 count) |
| Ranged readback hook for readMemory(); the default pins the whole bank. | |
Static Protected Attributes | |
| static gzRefPointer< ctxCompiler > | systemCompiler |
Accelerates execution of ctxVirtualMachineProgram by compiler backens.
Definition at line 50 of file ctxCompiler.h.
|
static |
References CTX_EXPORT, and CTX_PRG_EXEC_DEFAULT.
|
protectedpure virtual |
References CTX_EXPORT.
|
static |
References CTX_EXPORT.
|
pure virtual |
References CTX_EXPORT.
|
virtual |
|
pure virtual |
References CTX_EXPORT.
|
static |
References CTX_EXPORT.
|
pure virtual |
References CTX_EXPORT.
|
static |
References CTX_COMPILER_DEFAULT, and CTX_EXPORT.
|
static |
References CTX_EXPORT.
|
protectedpure virtual |
References CTX_EXPORT.
|
static |
References CTX_EXPORT.
|
protectedpure virtual |
References CTX_EXPORT.
|
static |
References CTX_EXPORT.
|
protectedpure virtual |
References CTX_EXPORT.
|
static |
Makes count host byte ranges current after backend writes: the range k starts at address + offset + k * stride and is bytes long.
Unlike pinMemory(), only these ranges are copied and the bank stays stale on the host; read nothing outside them. A zero stride means bytes. Backends without a ranged transfer pin the whole bank. Returns FALSE without a system compiler or for an untracked or out-of-range bank.
References CTX_EXPORT.
|
protectedvirtual |
Ranged readback hook for readMemory(); the default pins the whole bank.
References CTX_EXPORT.
|
static |
References CTX_EXPORT.
|
static |
References CTX_EXPORT.
|
protectedpure virtual |
References CTX_EXPORT.
|
staticprotected |
Definition at line 100 of file ctxCompiler.h.