Guide142.8K views4,828 votes1 reply1 comment4,682 following
Choosing Work‑Group Size and Local Memory for OpenCL Kernels
Pick a local work‑group size that divides the global size and fits the device’s max work‑group and local‑memory limits, then launch with clEnqueueNDRangeKernel and declare __local buffers in the kernel.