Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 6304842

Browse files
[SYCL] Fix use of deprecated address space naming (#1163)
This commit changes the use of the deprecated access::address_space::global_device_space address space to use the extension naming access::address_space::ext_intel_global_device_space instead. Signed-off-by: Larsen, Steffen <[email protected]>
1 parent de2e166 commit 6304842

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SYCL/Basic/multi_ptr.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ template <typename T> void testMultPtrArrowOperator() {
151151
auto ptr_3 = make_ptr<point<T>, access::address_space::local_space>(
152152
accessorData_3.get_pointer());
153153
auto ptr_4 =
154-
make_ptr<point<T>, access::address_space::global_device_space>(
154+
make_ptr<point<T>,
155+
access::address_space::ext_intel_global_device_space>(
155156
accessorData_4.get_pointer());
156157

157158
auto x1 = ptr_1 -> x;

0 commit comments

Comments
 (0)