Skip to content

Commit 2fd6613

Browse files
authored
[SYCL][E2E] Fix another test in multi-device mode (intel#14533)
The compiler needs to be told which device the `--cuda-gpu-arch` parameter applies to.
1 parent 6c030d2 commit 2fd6613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test-e2e/syclcompat/math/math_byte_dot_product.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
//
3030
// ===---------------------------------------------------------------------===//
3131

32-
// RUN: %clangxx -std=c++17 -fsycl -fsycl-targets=%{sycl_triple} %if any-device-is-cuda %{ -Xsycl-target-backend --cuda-gpu-arch=sm_61 %} %s -o %t.out
32+
// RUN: %clangxx -std=c++17 -fsycl -fsycl-targets=%{sycl_triple} %if any-device-is-cuda %{ -Xsycl-target-backend=nvptx64-nvidia-cuda --cuda-gpu-arch=sm_61 %} %s -o %t.out
3333
// RUN: %{run} %t.out
3434

3535
#include <sycl/detail/core.hpp>

0 commit comments

Comments
 (0)