|
virtual | ~Plugin ()=default |
|
virtual bool | isThreadSafe () const |
| Returns true if the plugin is thread-safe. More...
|
|
virtual void | atomicAccess (const Memory *Mem, uint64_t Address, uint64_t NumBytes, uint32_t Opcode, uint32_t Scope, uint32_t Semantics, const Invocation *Invoc) |
| Called when memory is atomically accessed by an instruction. More...
|
|
virtual void | commandBegin (const Command *Cmd) |
| Called when a command has begun executing. More...
|
|
virtual void | commandComplete (const Command *Cmd) |
| Called when a command has completed. More...
|
|
virtual void | hostMemoryLoad (const Memory *Mem, uint64_t Address, uint64_t NumBytes) |
| Called when the host loads data from memory. More...
|
|
virtual void | hostMemoryStore (const Memory *Mem, uint64_t Address, uint64_t NumBytes, const uint8_t *Data) |
| Called when the host stores data to memory. More...
|
|
virtual void | instructionExecuted (const Invocation *Invoc, const Instruction *Inst) |
| Called when an instruction has been executed by an invocation. More...
|
|
virtual void | invocationBegin (const Invocation *Invoc) |
| Called when an invocation has begun executing. More...
|
|
virtual void | invocationComplete (const Invocation *Invoc) |
| Called when an invocation has completed. More...
|
|
virtual void | memoryLoad (const Memory *Mem, uint64_t Address, uint64_t NumBytes, const Invocation *Invoc) |
| Called when an invocation loads data from memory. More...
|
|
virtual void | memoryMap (const Memory *Mem, uint64_t Base, uint64_t Offset, uint64_t NumBytes) |
| Called when a memory region is mapped by the host. More...
|
|
virtual void | memoryStore (const Memory *Mem, uint64_t Address, uint64_t NumBytes, const uint8_t *Data, const Invocation *Invoc) |
| Called when an invocation stores data to memory. More...
|
|
virtual void | memoryUnmap (const Memory *Mem, uint64_t Base) |
| Called when a memory region is unmapped by the host. More...
|
|
virtual void | workgroupBegin (const Workgroup *Group) |
| Called when a workgroup has begun executing. More...
|
|
virtual void | workgroupBarrier (const Workgroup *Group) |
| Called when a workgroup barrier is cleared. More...
|
|
virtual void | workgroupComplete (const Workgroup *Group) |
| Called when a workgroup has completed. More...
|
|
Base class for Talvos plugins.
Plugins should extend this class and override the callbacks that they are interested in.
Definition at line 26 of file Plugin.h.