This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %clangxx -fsycl -fsycl-unnamed-lambda -DSYCL_USE_NATIVE_FP_ATOMICS \
2
- // RUN: -fsycl-targets=%sycl_triple %s -o %t.out
2
+ // RUN: -fsycl-targets=%sycl_triple %s -o %t.out \
3
+ // RUN: -Xsycl-target-backend=nvptx64-nvidia-cuda-sycldevice --cuda-gpu-arch=sm_60
3
4
// RUN: %HOST_RUN_PLACEHOLDER %t.out
4
5
// RUN: %GPU_RUN_PLACEHOLDER %t.out
5
6
// RUN: %CPU_RUN_PLACEHOLDER %t.out
6
7
// TODO: Remove items from UNSUPPORTED once corresponding backends support
7
8
// "native" implementation
8
- // UNSUPPORTED: cpu, cuda
9
+ // UNSUPPORTED: cpu
9
10
10
11
#include < CL/sycl.hpp>
11
12
#include < algorithm>
Original file line number Diff line number Diff line change 1
1
// RUN: %clangxx -fsycl -fsycl-unnamed-lambda -DSYCL_USE_NATIVE_FP_ATOMICS \
2
- // RUN: -fsycl-targets=%sycl_triple %s -o %t.out
2
+ // RUN: -fsycl-targets=%sycl_triple %s -o %t.out \
3
+ // RUN: -Xsycl-target-backend=nvptx64-nvidia-cuda-sycldevice --cuda-gpu-arch=sm_60
3
4
// RUN: %HOST_RUN_PLACEHOLDER %t.out
4
5
// RUN: %GPU_RUN_PLACEHOLDER %t.out
5
6
// RUN: %CPU_RUN_PLACEHOLDER %t.out
6
7
// TODO: Remove items from UNSUPPORTED once corresponding backends support
7
8
// "native" implementation
8
- // UNSUPPORTED: cpu, cuda
9
+ // UNSUPPORTED: cpu
9
10
10
11
#include < CL/sycl.hpp>
11
12
#include < algorithm>
You can’t perform that action at this time.
0 commit comments