Function librapid::cuda::loadKernel#

Function Documentation#

const std::string &librapid::cuda::loadKernel(const std::string &path, bool relative = true)#

Load a CUDA kernel from a file and return the string representation of it.

Parameters

relPath – File path relative to LibRapid’s “cuda/kernels” directory

Returns

String representation of the kernel