Skip to content

Commit 9344c03

Browse files
author
Alexander Batashev
authored
[SYCL][NFC] Enable group and sub_group tests on CUDA (#2744)
1 parent f0cadb1 commit 9344c03

File tree

14 files changed

+9
-31
lines changed

14 files changed

+9
-31
lines changed

sycl/test/on-device/group-algorithm/leader.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// UNSUPPORTED: cuda
2-
// OpenCL C 2.x alike work-group functions not yet supported by CUDA.
3-
//
41
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
52
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
63
// RUN: %CPU_RUN_PLACEHOLDER %t.out

sycl/test/on-device/sub_group/attributes.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// UNSUPPORTED: cuda
2-
// CUDA compilation and runtime do not yet support sub-groups.
3-
//
41
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
52
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
63
// RUN: %CPU_RUN_PLACEHOLDER %t.out

sycl/test/on-device/sub_group/broadcast.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: cuda
1+
// XFAIL: cuda
22
// CUDA compilation and runtime do not yet support sub-groups.
33

44
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out

sycl/test/on-device/sub_group/broadcast_fp16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: cuda
1+
// XFAIL: cuda
22
// CUDA compilation and runtime do not yet support sub-groups.
33

44
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out

sycl/test/on-device/sub_group/broadcast_fp64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: cuda
1+
// XFAIL: cuda
22
// CUDA compilation and runtime do not yet support sub-groups.
33

44
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out

sycl/test/on-device/sub_group/generic_reduce.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
2-
// UNSUPPORTED: cuda
3-
// CUDA compilation and runtime do not yet support sub-groups.
4-
//
51
// RUN: %clangxx -fsycl -fsycl-unnamed-lambda -std=c++14 %s -o %t.out
62
// RUN: %clangxx -fsycl -fsycl-unnamed-lambda -fsycl-targets=%sycl_triple -std=c++14 -D SG_GPU %s -o %t_gpu.out
73
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out

sycl/test/on-device/sub_group/load_store.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

2-
// UNSUPPORTED: cuda || cpu
2+
// XFAIL: cuda
3+
// UNSUPPORTED: cpu
34
// CUDA compilation and runtime do not yet support sub-groups.
45
// #2252 Disable until all variants of built-ins are available in OpenCL CPU
56
// runtime for every supported ISA

sycl/test/on-device/sub_group/reduce.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// UNSUPPORTED: cuda || cpu
2-
// CUDA compilation and runtime do not yet support sub-groups.
1+
// UNSUPPORTED: cpu
32
// #2252 Disable until all variants of built-ins are available in OpenCL CPU
43
// runtime for every supported ISA
54
//

sycl/test/on-device/sub_group/reduce_fp16.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// UNSUPPORTED: cuda
2-
// CUDA compilation and runtime do not yet support sub-groups.
3-
//
41
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
52
// RUN: %GPU_RUN_PLACEHOLDER %t.out
63
///==---------------- reduce_fp16.cpp - SYCL sub_group reduce test ----*- C++ -*---==//

sycl/test/on-device/sub_group/reduce_fp64.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// UNSUPPORTED: cuda || cpu
2-
// CUDA compilation and runtime do not yet support sub-groups.
1+
// UNSUPPORTED: cpu
32
// #2252 Disable until all variants of built-ins are available in OpenCL CPU
43
// runtime for every supported ISA
54
//

sycl/test/on-device/sub_group/scan.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// UNSUPPORTED: cuda || cpu
2-
// CUDA compilation and runtime do not yet support sub-groups.
1+
// UNSUPPORTED: cpu
32
// #2252 Disable until all variants of built-ins are available in OpenCL CPU
43
// runtime for every supported ISA
54
//

sycl/test/on-device/sub_group/scan_fp16.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// UNSUPPORTED: cuda
2-
// CUDA compilation and runtime do not yet support sub-groups.
3-
//
41
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
52
// RUN: %GPU_RUN_PLACEHOLDER %t.out
63

sycl/test/on-device/sub_group/scan_fp64.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// UNSUPPORTED: cuda || cpu
2-
// CUDA compilation and runtime do not yet support sub-groups.
1+
// UNSUPPORTED: cpu
32
// #2252 Disable until all variants of built-ins are available in OpenCL CPU
43
// runtime for every supported ISA
54
//

sycl/test/on-device/sub_group/vote.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// UNSUPPORTED: cuda
2-
// CUDA compilation and runtime do not yet support sub-groups.
3-
//
41
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
52
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
63
// RUN: %CPU_RUN_PLACEHOLDER %t.out

0 commit comments

Comments
 (0)