The dispatch table stores a pointer to a kernel function and a pointer to a function initializing a cache for the kernel. More...
#include <DispatchTable.h>
Data Fields | |
KernelFunction * | kernel_func |
KernelCacheCreatorFunction * | cache_creator_func |
The dispatch table stores a pointer to a kernel function and a pointer to a function initializing a cache for the kernel.
If the kernel wants to use the cache, they supply the state initializer when the kernel is registered. When a kernel is looked up from the dispatcher, a new cache instance is created for it and each call to that kernel will get this same cache instance.
Definition at line 35 of file DispatchTable.h.