From 1d617bf51f8083a1aea343c634fe52e5de5d1658 Mon Sep 17 00:00:00 2001 From: Krzysztof Swiecicki Date: Wed, 3 Jul 2024 15:52:11 +0000 Subject: [PATCH] [L0] Fix get_info_aspect.cpp test Explicitly set 'ZES_ENABLE_SYSMAN=0'. HWLOC initializes this environment variable in its constructor, causing this test to fail, as retrieving free memory information is expected not to work in this test. --- sycl/test-e2e/Basic/get_info_aspect.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sycl/test-e2e/Basic/get_info_aspect.cpp b/sycl/test-e2e/Basic/get_info_aspect.cpp index fbc7bd7ffa86e..55bf51b7422af 100644 --- a/sycl/test-e2e/Basic/get_info_aspect.cpp +++ b/sycl/test-e2e/Basic/get_info_aspect.cpp @@ -3,7 +3,11 @@ // REQUIRES: gpu, level_zero // RUN: %{build} -o %t.out -// RUN: %{run} %t.out +// RUN: env ZES_ENABLE_SYSMAN=0 %{run} %t.out +// Explicitly set 'ZES_ENABLE_SYSMAN=0'. HWLOC initializes this environment +// variable in its constructor, causing this test to fail, as retrieving +// free memory information is expected not to work in this test. +// For more context, see: https://github.com/oneapi-src/level-zero/issues/36. #include int main() {