File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 11// REQUIRES: aspect-ext_intel_free_memory
2+ // REQUIRES: level_zero, level_zero_dev_kit
23//
34// RUN: %{build} %level_zero_options -o %t.out
45// RUN: env ZES_ENABLE_SYSMAN=1 %{run} %t.out 2>&1 | FileCheck %s
1415using namespace sycl ;
1516
1617int main () {
18+
1719 queue Queue;
1820 auto dev = Queue.get_device ();
1921 std::cout << " Device: " << dev.get_info <info::device::name>() << std::endl;
Original file line number Diff line number Diff line change @@ -647,6 +647,9 @@ def open_check_file(file_name):
647647 env = copy .copy (llvm_config .config .environment )
648648 env ["ONEAPI_DEVICE_SELECTOR" ] = sycl_device
649649 env ["ZES_ENABLE_SYSMAN" ] = "1"
650+ # The reason for setting ZES_ENABLE_SYSMAN=1 is to ensure
651+ # that the "ext_intel_free_memory" aspect is displayed by sycl-ls --verbose
652+ # Without this aspect, tests requiring it are skipped.
650653 if sycl_device .startswith ("cuda:" ):
651654 env ["SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT" ] = "1"
652655 # When using the ONEAPI_DEVICE_SELECTOR environment variable, sycl-ls
You can’t perform that action at this time.
0 commit comments