Template Function librapid::cuda::runKernel#

Function Documentation#

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

Run a kernel from a filename and kernel name with the specified arguments

Template Parameters
  • Templates – Instantiation types passed to Jitify

  • Args – Argument types passed to Jitify

Parameters
  • name – Filename of the kernel

  • kernelName – Name of the kernel

  • elements – Number of elements to process

  • arguments – Arguments to pass to the kernel