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

◆ get_kernel_args() [2/2]

template<typename K , require_matrix_cl_t< K > * = nullptr>
const cl::Buffer & stan::math::opencl_kernels::internal::get_kernel_args ( const K &  m)
inline

Extracts the kernel's arguments, used in the global and local kernel constructor.

Template Parameters
KThe type of the matrix_cl.
Parameters
mThe matrix with an OpenCL Buffer.
Returns
The OpenCL Buffer.

Definition at line 46 of file kernel_cl.hpp.