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

◆ operator()() [2/2]

template<typename... Args>
template<typename... CallArgs>
auto stan::math::opencl_kernels::kernel_cl< Args >::operator() ( cl::NDRange  global_thread_size,
cl::NDRange  thread_block_size,
CallArgs &&...  args 
) const
inline

Executes a kernel.

Template Parameters
CallArgsThe types of the callee arguments.
ArgsParameter pack of all kernel argument types.
Parameters
global_thread_sizeThe global work size.
thread_block_sizeThe thread block size.
argsThe arguments to pass to the kernel.
Returns
An Opencl event.

Definition at line 229 of file kernel_cl.hpp.