File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
sycl/doc/extensions/experimental Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -811,9 +811,15 @@ the host application interact with device globals defined in runtime-compiled
811
811
code. Device globals are only supported for the `source_language::sycl`
812
812
language.
813
813
814
- Device globals declared with the `device_image_scope` property can be used in
815
- the runtime-compiled device code, but cannot be accessed from the host. We plan
816
- to lift this limitation in a future version of the extension.
814
+ This extension currently supports only a subset of the
815
+ link:../experimental/sycl_ext_oneapi_device_global.asciidoc[
816
+ sycl_ext_oneapi_device_global] extension:
817
+
818
+ * Device globals must be declared at global scope.
819
+ * Device globals declared with the `device_image_scope` property can be used in
820
+ the runtime-compiled device code, but cannot be accessed from the host.
821
+
822
+ We plan to lift both limitations in a future version of this extension.
817
823
818
824
[source,c++]
819
825
----
@@ -853,9 +859,6 @@ _Returns:_ The value `true` only if
853
859
* it defines a device global whose name is `name` and which was declared without
854
860
the `device_image_scope` property.
855
861
856
- `name` must be a {cpp} identifier that is valid for referencing the device
857
- global at the bottom of the source code.
858
-
859
862
a|
860
863
[frame=all,grid=none]
861
864
!====
You can’t perform that action at this time.
0 commit comments