Provided by: opencl-1.2-man-doc_1.0~svn33624-5_all bug

NAME

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

       #pragma OPENCL EXTENSION cl_khr_3d_image_writes
       : enable

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.

SPECIFICATION

       OpenCL Specification[1]

SEE ALSO

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

AUTHORS

       The Khronos Group

COPYRIGHT

       Copyright © 2007-2011 The Khronos Group Inc.
       Permission is hereby granted, free of charge, to any person obtaining a copy of this
       software and/or associated documentation files (the "Materials"), to deal in the Materials
       without restriction, including without limitation the rights to use, copy, modify, merge,
       publish, distribute, sublicense, and/or sell copies of the Materials, and to permit
       persons to whom the Materials are furnished to do so, subject to the condition that this
       copyright notice and permission notice shall be included in all copies or substantial
       portions of the Materials.

NOTES

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