Skip to content

Commit 2d7e014

Browse files
steffenlarsentravisle2
authored andcommitted
[SYCL] Disable device_global test compilation without device_image_scope (intel#1267)
Since device_global does not currently work without the device_image_scope an error has been added to prevent any use of it prior to proper support. This commit changes the device_global tests to avoid compiling device_global without the currently required property. Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 803a15b commit 2d7e014

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

SYCL/DeviceGlobal/device_global_arrow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// TODO: device_global without the device_image_scope property is not currently
22
// initialized on device. Enable the following test cases when it is
33
// supported.
4-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
4+
// RUNx: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
55
// RUNx: %CPU_RUN_PLACEHOLDER %t.out
66
// RUNx: %GPU_RUN_PLACEHOLDER %t.out
77
// RUNx: %ACC_RUN_PLACEHOLDER %t.out

SYCL/DeviceGlobal/device_global_device_only.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// TODO: device_global without the device_image_scope property is not currently
22
// initialized on device. Enable the following test cases when it is
33
// supported.
4-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
4+
// RUNx: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
55
// RUNx: %CPU_RUN_PLACEHOLDER %t.out
66
// RUNx: %GPU_RUN_PLACEHOLDER %t.out
77
// RUNx: %ACC_RUN_PLACEHOLDER %t.out

SYCL/DeviceGlobal/device_global_operator_passthrough.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// TODO: device_global without the device_image_scope property is not currently
22
// initialized on device. Enable the following test cases when it is
33
// supported.
4-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
4+
// RUNx: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
55
// RUNx: %CPU_RUN_PLACEHOLDER %t.out
66
// RUNx: %GPU_RUN_PLACEHOLDER %t.out
77
// RUNx: %ACC_RUN_PLACEHOLDER %t.out

SYCL/DeviceGlobal/device_global_subscript.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// TODO: device_global without the device_image_scope property is not currently
22
// initialized on device. Enable the following test cases when it is
33
// supported.
4-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
4+
// RUNx: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
55
// RUNx: %CPU_RUN_PLACEHOLDER %t.out
66
// RUNx: %GPU_RUN_PLACEHOLDER %t.out
77
// RUNx: %ACC_RUN_PLACEHOLDER %t.out

0 commit comments

Comments
 (0)