From c003ab7165e5d362ed5bdbfd67b2182c4edfc991 Mon Sep 17 00:00:00 2001 From: Jinsong Ji Date: Sun, 30 Nov 2025 19:40:15 -0800 Subject: [PATCH] [NFC][SYCL][E2E]Fix ocloc device command for multiple devices ocloc use -device instead of -devices. Exposed by 046f67d. --- sycl/test-e2e/AddressSanitizer/lit.local.cfg | 2 +- sycl/test-e2e/MemorySanitizer/lit.local.cfg | 2 +- sycl/test-e2e/ThreadSanitizer/lit.local.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sycl/test-e2e/AddressSanitizer/lit.local.cfg b/sycl/test-e2e/AddressSanitizer/lit.local.cfg index fc485cd8672d1..7694aea414c55 100644 --- a/sycl/test-e2e/AddressSanitizer/lit.local.cfg +++ b/sycl/test-e2e/AddressSanitizer/lit.local.cfg @@ -3,7 +3,7 @@ config.substitutions.append( ) # For GPU, DASAN only support pvc and dg2 currently config.substitutions.append( - ("%device_asan_aot_flags", "-Xarch_device -fsanitize=address %if cpu %{ -fsycl-targets=spir64_x86_64 %} %if gpu %{ -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen '-devices pvc,dg2' %}") + ("%device_asan_aot_flags", "-Xarch_device -fsanitize=address %if cpu %{ -fsycl-targets=spir64_x86_64 %} %if gpu %{ -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen '-device pvc,dg2' %}") ) config.substitutions.append( ("%force_device_asan_rt", "env UR_ENABLE_LAYERS=UR_LAYER_ASAN") diff --git a/sycl/test-e2e/MemorySanitizer/lit.local.cfg b/sycl/test-e2e/MemorySanitizer/lit.local.cfg index 3f0995818cefd..18c7f7bd8f73f 100644 --- a/sycl/test-e2e/MemorySanitizer/lit.local.cfg +++ b/sycl/test-e2e/MemorySanitizer/lit.local.cfg @@ -6,7 +6,7 @@ else: config.unsupported_features += ['igc-dev'] config.substitutions.append( - ("%device_msan_aot_flags", "-Xarch_device -fsanitize=memory %if cpu %{ -fsycl-targets=spir64_x86_64 %} %if gpu %{ -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen '-devices pvc' %}") + ("%device_msan_aot_flags", "-Xarch_device -fsanitize=memory %if cpu %{ -fsycl-targets=spir64_x86_64 %} %if gpu %{ -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen '-device pvc' %}") ) # MemorySanitizer is not currently supported for non-spir triples diff --git a/sycl/test-e2e/ThreadSanitizer/lit.local.cfg b/sycl/test-e2e/ThreadSanitizer/lit.local.cfg index c992b46250e98..83db05b539f5b 100644 --- a/sycl/test-e2e/ThreadSanitizer/lit.local.cfg +++ b/sycl/test-e2e/ThreadSanitizer/lit.local.cfg @@ -23,7 +23,7 @@ config.substitutions.append( # For GPU, DTSAN only support pvc currently config.substitutions.append( - ("%device_tsan_aot_flags", "-Xarch_device -fsanitize=thread %if cpu %{ -fsycl-targets=spir64_x86_64 %} %if gpu %{ -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen '-devices pvc' %}") + ("%device_tsan_aot_flags", "-Xarch_device -fsanitize=thread %if cpu %{ -fsycl-targets=spir64_x86_64 %} %if gpu %{ -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen '-device pvc' %}") ) unsupported_san_flags = [