File tree Expand file tree Collapse file tree 12 files changed +26
-11
lines changed Expand file tree Collapse file tree 12 files changed +26
-11
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl %s -o %t.out
1
+ // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2
2
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
3
3
// RUN: %CPU_RUN_PLACEHOLDER %t.out
4
4
// RUN: %GPU_RUN_PLACEHOLDER %t.out
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl %s -o %t.out
1
+ // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2
2
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
3
3
// RUN: %CPU_RUN_PLACEHOLDER %t.out
4
4
// RUNx: %GPU_RUN_PLACEHOLDER %t.out
Original file line number Diff line number Diff line change 3
3
// RUN: %CPU_RUN_PLACEHOLDER %t.out
4
4
// RUN: %GPU_RUN_PLACEHOLDER %t.out
5
5
// RUN: %ACC_RUN_PLACEHOLDER %t.out
6
- // UNSUPPORTED: cuda
6
+
7
7
// ==---------- barrier.cpp - SYCL sub_group barrier test -------*- C++ -*---==//
8
8
//
9
9
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
Original file line number Diff line number Diff line change
1
+ // XFAIL: cuda
2
+ // CUDA compilation and runtime do not yet support sub groups.
3
+
4
+
1
5
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2
6
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -D SG_GPU %s -o %t_gpu.out
3
7
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
4
8
// RUN: %CPU_RUN_PLACEHOLDER %t.out
5
9
// RUN: %GPU_RUN_PLACEHOLDER %t_gpu.out
6
10
// RUN: %ACC_RUN_PLACEHOLDER %t.out
7
- // UNSUPPORTED: cuda
11
+
8
12
// ==--------- broadcast.cpp - SYCL sub_group broadcast test ----*- C++ -*---==//
9
13
//
10
14
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
Original file line number Diff line number Diff line change 3
3
// RUN: %CPU_RUN_PLACEHOLDER %t.out
4
4
// RUN: %GPU_RUN_PLACEHOLDER %t.out
5
5
// RUN: %ACC_RUN_PLACEHOLDER %t.out
6
- // UNSUPPORTED: cuda
6
+
7
7
// ==-------------- common.cpp - SYCL sub_group common test -----*- C++ -*---==//
8
8
//
9
9
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
Original file line number Diff line number Diff line change 1
1
// REQUIRES: opencl
2
2
// UNSUPPORTED: cuda
3
3
// CUDA does not support OpenCL interop.
4
+ // CUDA compilation and runtime do not yet support sub groups.
4
5
5
6
// RUN: %clang_cc1 -x cl -cl-std=CL2.0 %S/sg.cl -triple spir64-unknown-unknown -emit-llvm-bc -o %T/kernel_ocl.bc -include opencl-c.h
6
7
// RUN: llvm-spirv %T/kernel_ocl.bc -o %T/kernel_ocl.spv
Original file line number Diff line number Diff line change
1
+ // REQUIRES: opencl
1
2
// UNSUPPORTED: cuda
3
+ // CUDA does not support OpenCL interop.
4
+ // CUDA compilation and runtime do not yet support sub groups.
2
5
3
6
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
4
7
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
Original file line number Diff line number Diff line change
1
+ // XFAIL: cuda
2
+ // CUDA compilation and runtime do not yet support sub groups.
3
+
1
4
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
2
5
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
3
6
// RUN: %CPU_RUN_PLACEHOLDER %t.out
Original file line number Diff line number Diff line change 1
-
1
+ // XFAIL: cuda
2
+ // CUDA compilation and runtime do not yet support sub groups.
2
3
3
4
// -fsycl-targets=%sycl_triple
4
5
// RUN: %clangxx -fsycl -std=c++14 %s -o %t.out
5
- // RUN: %clangxx -fsycl -std=c++14 -D SG_GPU %s -o %t_gpu.out
6
+ // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple - std=c++14 -D SG_GPU %s -o %t_gpu.out
6
7
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
7
8
// RUN: %CPU_RUN_PLACEHOLDER %t.out
8
9
// RUN: %GPU_RUN_PLACEHOLDER %t_gpu.out
Original file line number Diff line number Diff line change 1
-
1
+ // XFAIL: cuda
2
+ // CUDA compilation and runtime do not yet support sub groups.
2
3
3
4
// -fsycl-targets=%sycl_triple
4
5
// RUN: %clangxx -fsycl -std=c++14 %s -o %t.out
5
- // RUN: %clangxx -fsycl -std=c++14 -D SG_GPU %s -o %t_gpu.out
6
+ // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple - std=c++14 -D SG_GPU %s -o %t_gpu.out
6
7
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
7
8
// RUN: %CPU_RUN_PLACEHOLDER %t.out
8
9
// RUN: %GPU_RUN_PLACEHOLDER %t_gpu.out
Original file line number Diff line number Diff line change 1
-
1
+ // XFAIL: cuda
2
+ // CUDA compilation and runtime do not yet support sub groups.
2
3
3
4
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
4
5
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
Original file line number Diff line number Diff line change 1
-
1
+ // XFAIL: cuda
2
+ // CUDA compilation and runtime do not yet support sub groups.
2
3
3
4
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
4
5
// RUN: env SYCL_DEVICE_TYPE=HOST %t.out
You can’t perform that action at this time.
0 commit comments