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

◆ max_thread_block_size()

int stan::math::opencl_context::max_thread_block_size ( )
inlinenoexcept

Returns the maximum thread block size defined by CL_DEVICE_MAX_WORK_GROUP_SIZE for the device in the context.

This is the maximum product of thread block dimensions for a particular device. IE a max workgroup of 256 would allow thread blocks of sizes (16,16), (128,2), (8, 32), etc.

Definition at line 379 of file opencl_context.hpp.