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

Access_Qualifiers - Access Qualifiers for image memory objects.

Authors

TheKhronosGroup

Description

       Image objects specified as arguments to a kernel can be declared to be read-only or write-only. A kernel
       cannot read from and write to the same image object. The __read_only (or read_only) and __write_only (or
       write_only) qualifiers must be used with image object arguments to declare if the image object is being
       read or written by a kernel. The default qualifier is __read_only.

Name

       Access_Qualifiers - Access Qualifiers for image memory objects.

       __read_only __write_only read_only write_only

Notes

        1. OpenCL Specification
           page 226, section 6.6 - Access Qualifiers

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

Specification

OpenCLSpecification[1]

See Also