SIMPLE SOLUTIONS

ACCESSQUALIFIERS(3CLC) - Linux man page online | Library functions

Access Qualifiers for image memory objects.

Chapter
01/03/2018
ACCESSQUALIFIERS(3clc) OpenCL Manual ACCESSQUALIFIERS(3clc)

NAME

Access_Qualifiers - Access Qualifiers for image memory objects. __read_only __write_only read_only write_only

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.

NOTES

The __read_only, __write_only, __read_write, read_only, write_only and read_write names are reserved for use as access qualifiers and shall not be used otherwise. Example In the example below, imageA is a read-only 2D image object, and imageB is a write-only 2D image object. __kernel void foo (read_only image2d_t imageA, write_only image2d_t imageB) { ... }

SPECIFICATION

OpenCL Specification[1]

AUTHORS

The Khronos Group
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 226, section 6.6 - Access Qualifiers
The Khronos Group 01/03/2018 ACCESSQUALIFIERS(3clc)
This manual Reference Other manuals
accessQualifiers(3clc) referred by imageFunctions(3clc) | qualifiers(3clc) | read_imagef1d(3clc) | read_imagef2d(3clc) | read_imagef3d(3clc) | read_imageh1d(3clc) | read_imageh2d(3clc) | read_imageh3d(3clc) | read_imagei1d(3clc) | read_imagei2d(3clc) | read_imagei3d(3clc) | restrictions(3clc) | write_image1d(3clc) | write_image2d(3clc)
refer to
Download raw manual
Main page OpenCL Manual (+322) The Khronos Group (+322) № 3 (+68044)
Go top