From 2fd6613c4653572ddc60aac8ec101d5504702d1b Mon Sep 17 00:00:00 2001 From: Fraser Cormack Date: Thu, 11 Jul 2024 14:41:15 +0100 Subject: [PATCH] [SYCL][E2E] Fix another test in multi-device mode (#14533) 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