Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ kernel_cl()

template<typename... Args>
stan::math::opencl_kernels::kernel_cl< Args >::kernel_cl ( const char *  name,
std::vector< std::string >  sources,
std::unordered_map< std::string, int >  options = {} 
)
inline

Creates functor for kernels that only need access to defining the global work size.

Parameters
nameThe name for the kernel
sourcesA std::vector of strings containing the code for the kernel.
optionsThe values of macros to be passed at compile time.

Definition at line 189 of file kernel_cl.hpp.