From 48b5614e5e0434b65d4058caf349548ad86f1dcd Mon Sep 17 00:00:00 2001 From: Fraser Cormack Date: Thu, 11 Jul 2024 11:07:01 +0100 Subject: [PATCH] [SYCL][E2E] Fix another test in multi-device mode The compiler needs to be told which device the `--cuda-gpu-arch` parameter applies to. --- sycl/test-e2e/syclcompat/math/math_byte_dot_product.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/test-e2e/syclcompat/math/math_byte_dot_product.cpp b/sycl/test-e2e/syclcompat/math/math_byte_dot_product.cpp index 79c9e4b13d1fc..f43252c368b7c 100644 --- a/sycl/test-e2e/syclcompat/math/math_byte_dot_product.cpp +++ b/sycl/test-e2e/syclcompat/math/math_byte_dot_product.cpp @@ -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