logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

get_work_dim - Returns the number of dimensions in use.

Authors

TheKhronosGroup

Description

       This is the value given to the work_dim argument specified in clEnqueueNDRangeKernel(3clc).

       For clEnqueueTask(3clc), this returns one.

Name

       get_work_dim - Returns the number of dimensions in use.

       scalarDataTypes(3clc) get_work_dim ()

Notes

        1. OpenCL Specification
           page 242, section 6.12.1 - Work-Item Functions

The Khronos Group                                  11/18/2024                                 GET_WORK_DIM(3clc)

See Also

workItemFunctions(3clc), clEnqueueNDRangeKernel(3clc), clEnqueueTask(3clc)

Specification

OpenCLSpecification[1]

See Also