Template Function librapid::cuda::runKernelString#

Function Documentation#

template<typename ...Templates, typename ...Args>
void librapid::cuda::runKernelString(const std::string &kernel, const std::string &kernelName, size_t elements, Args... arguments)#

Run a kernel string on the GPU with the specified arguments

Template Parameters
  • Templates – Instantiation types passed to Jitify

  • Args – Argument types passed to Jitify

Parameters
  • kernel – Kernel string to run

  • kernelName – Name of the kernel

  • elements – Number of elements to process

  • arguments – Arguments to pass to the kernel