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

◆ select_device()

void stan::math::opencl_context::select_device ( int  platform_id,
int  instance_id 
)
inline

Selects the OpenCL device to use from now on.

No matrix_cl objects or created before this call should be used after the call (including any that might be on the AD stack)!

Parameters
platform_idid of the platform the device is part of
instance_idif of the device

Definition at line 419 of file opencl_context.hpp.