ICompiler

struct ICompiler

Base clase for CUDA kernel compilers.

Subclassed by kernel_launcher::Compiler, kernel_launcher::NvrtcCompiler

Public Functions

virtual CudaModule compile(CudaContextHandle ctx, KernelDef def) const

Compile the given kernel definition for the given CUDA context.

Parameters:
  • ctx – The CUDA context.

  • def – The kernel definition.