Compiler
-
struct Compiler : public kernel_launcher::ICompiler
Wrapper around
std::shared_ptr<ICompiler>.Public Functions
-
template<typename C>
inline Compiler(C &&compiler) Construct an instance of
Compileraround an instance of typeCthat should derive fromICompiler.- Template Parameters:
C – Type should derive from
ICompiler.
-
virtual CudaModule compile(CudaContextHandle ctx, KernelDef def) const override
Compile the given kernel definition for the given CUDA context.
- Parameters:
ctx – The CUDA context.
def – The kernel definition.
-
template<typename C>