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

cl_khr_3d_image_writes - Extension to enable writes to 3D image memory objects.

Authors

TheKhronosGroup

Description

       OpenCL supports 2D image memory objects that can be read or written by kernels. Reads and writes to the
       same 2D image memory object are not supported in a kernel. OpenCL also supports reads to 3D image memory
       objects in kernels. Writes to a 3D image memory object are not supported unless the
       cl_khr_3d_image_writes extension is implemented. Reads and writes to the same 3D image memory object are
       not allowed in a kernel.

       An application that wants to use this extension to write to 3D image memory objects will need to include
       the #pragma OPENCL EXTENSION cl_khr_3d_image_writes : enable directive in the OpenCL program source.

       The write_image3d(3clc) are implemented by the cl_khr_3d_image_writes extension.

Name

       cl_khr_3d_image_writes - Extension to enable writes to 3D image memory objects.

       #pragma OPENCL EXTENSION cl_khr_3d_image_writes : enable

Notes

        1. OpenCL Specification
           page 12, section 9.4 - Writing to 3D image memory objects

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

See Also

EXTENSION(3clc), cl_image_format(3clc), imageFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also