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

◆ context()

cl::Context & stan::math::opencl_context::context ( )
inlinenoexcept

Returns the reference to the OpenCL context.

The OpenCL context manages objects such as the device, memory, command queue, program, and kernel objects. For stan, there should only be one context, queue, device, and program with multiple kernels.

Definition at line 355 of file opencl_context.hpp.