Skip to content

Commit 39cad4d

Browse files
committed
Tweak wording to clarify this applies to SPIR-V
Comment from Ben, clarify that these rules apply only if the module was created from SPIR-V.
1 parent c621701 commit 39cad4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/doc/design/opencl-extensions/cl_intel_global_variable_access.asciidoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ Variables* with the following content:
290290
Host code may read or write the content of a global variable in a `cl_program`
291291
by calling *clEnqueueReadGlobalVariableINTEL* or
292292
*clEnqueueWriteGlobalVariableINTEL*. Those two functions both take a _name_
293-
parameter which identifies the variable. This parameter is interpreted as
294-
follows:
293+
parameter which identifies the variable. For a `cl_program` created from
294+
SPIR-V, this parameter is interpreted as follows:
295295

296296
* If the SPIR-V module used to create _program_ declares the
297297
*GlobalVariableDecorationsINTEL* capability, the implementation looks first

0 commit comments

Comments
 (0)