Template Function librapid::cuda::cudaTupleEvaluator#

Function Documentation#

template<typename descriptor, typename Functor, typename ...Args, typename Pointer, size_t... I>
void librapid::cuda::cudaTupleEvaluator(std::index_sequence<I...>, const std::string &filename, const std::string &kernelName, Pointer *dst, const detail::Function<descriptor, Functor, Args...> &function)#

Helper for evaluating a tuple

Template Parameters
  • descriptor – The descriptor of the Function

  • Functor – The function type of the Function

  • Args – The argument types of the Function

  • Pointer – The pointer type of the destination

  • I – Index sequence for the tuple

Parameters
  • filename – The filename of the kernel

  • kernelName – The name of the kernel

  • dst – The memory location to assign data to

  • function – The Function to evaluate