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

◆ register_kernel_cache()

void stan::math::opencl_context::register_kernel_cache ( cl::Kernel *  cache)
inline

Registers a cached kernel.

The cache will be invalidated if a new OpenCL device is selected.

Parameters
cachepointer to a cached kernel.

Definition at line 432 of file opencl_context.hpp.