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

Commit f67c676

Browse files
authored
[SYCL][CUDA] Corrected a missing triple and set an XFAIL: cuda. (#336)
Now that the fp16 aspect is connected to the cuda PI (https://github.com/intel/llvm/pull/4029/files) one test case (fp16-with-unnamed-lambda.cpp) that now runs for cuda if the device has the fp16 aspect failed because it was missing the triple for ptx. The triple has been added. nan.cpp fails for the fp64 case that was switched on by (intel/llvm#3950). Signed-off-by: JackAKirk <[email protected]>
1 parent 8df801c commit f67c676

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

SYCL/DeviceLib/built-ins/nan.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// RUN: %GPU_RUN_PLACEHOLDER %t_gpu.out
66
// RUN: %ACC_RUN_PLACEHOLDER %t.out
77

8+
// XFAIL: cuda
9+
810
#include <CL/sycl.hpp>
911

1012
#include <cassert>

SYCL/Regression/fp16-with-unnamed-lambda.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -fsycl -fsycl-unnamed-lambda %s -o %t.out
1+
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-unnamed-lambda %s -o %t.out
22
// RUN: %HOST_RUN_PLACEHOLDER %t.out
33
// RUN: %GPU_RUN_PLACEHOLDER %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out

0 commit comments

Comments
 (0)