Kernel
-
template<typename ...Args>
struct Kernel An instance of a CUDA kernel with fixed argument types.
- Template Parameters:
Args – Types of the kernel arguments.
Public Functions
-
inline void compile(const KernelBuilder &builder, const Config &config, const ICompiler &compiler = default_compiler(), CudaContextHandle ctx = CudaContextHandle::current())
Compile a CUDA kernel using the given
KernelBuilder
with the givenConfig
and store the result in the currentKernel
object.
-
inline void clear()
Delete this kernel and reset its contents.