Skip to content

Commit

Permalink
[SYCL][E2E] Fix another test in multi-device mode (#14533)
Browse files Browse the repository at this point in the history
The compiler needs to be told which device the `--cuda-gpu-arch`
parameter applies to.
  • Loading branch information
frasercrmck committed Jul 11, 2024
1 parent 6c030d2 commit 2fd6613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sycl/test-e2e/syclcompat/math/math_byte_dot_product.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
//
// ===---------------------------------------------------------------------===//

// 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
// 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
// RUN: %{run} %t.out

#include <sycl/detail/core.hpp>
Expand Down

0 comments on commit 2fd6613

Please sign in to comment.