Skip to content

Commit

Permalink
[L0] Fix get_info_aspect.cpp test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kswiecicki authored and igchor committed Jul 11, 2024
1 parent fcfb68a commit b8bdfee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sycl/test-e2e/Basic/get_info_aspect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <sycl/detail/core.hpp>
int main() {
Expand Down

0 comments on commit b8bdfee

Please sign in to comment.