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

◆ compile_kernel()

auto stan::math::opencl_kernels::compile_kernel ( const char *  name,
const std::vector< std::string > &  sources,
const std::unordered_map< std::string, int > &  options 
)
inline

Compile an OpenCL kernel.

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 136 of file kernel_cl.hpp.