syclcompat/memory/memory_management_test3.cpp failing on Windows Gen12 on unrelated changes
Describe the bug
FAIL: SYCL :: syclcompat/memory/memory_management_test3.cpp (2197 of 2215)
******************** TEST 'SYCL :: syclcompat/memory/memory_management_test3.cpp' FAILED ********************
Exit Code: 3221225477
Command Output (stdout):
--
# RUN: at line 32
D:/github/actions-runner/_work/llvm/llvm/install/bin/clang++.exe -Werror -Wno-error=#warnings -Wno-error=deprecated-declarations -fsycl -fsycl-targets=spir64 D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\syclcompat\memory\memory_management_test3.cpp -o D:\github\actions-runner\_work\llvm\llvm\build-e2e\syclcompat\memory\Output\memory_management_test3.cpp.tmp.out
# executed command: D:/github/actions-runner/_work/llvm/llvm/install/bin/clang++.exe -Werror '-Wno-error=#warnings' -Wno-error=deprecated-declarations -fsycl -fsycl-targets=spir64 'D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\syclcompat\memory\memory_management_test3.cpp' -o 'D:\github\actions-runner\_work\llvm\llvm\build-e2e\syclcompat\memory\Output\memory_management_test3.cpp.tmp.out'
# .---command stderr------------
# | In file included from D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\syclcompat\memory\memory_management_test3.cpp:37:
# | In file included from D:\github\actions-runner\_work\llvm\llvm\install\bin\..\include\syclcompat/memory.hpp:54:
# | D:\github\actions-runner\_work\llvm\llvm\install\bin\..\include\syclcompat/device.hpp:421:2: warning: "Querying the number of bytes of free memory is not supported" [-W#warnings]
# | 421 | #warning "Querying the number of bytes of free memory is not supported"
# | | ^
# | 1 warning generated.
# | In file included from D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\syclcompat\memory\memory_management_test3.cpp:37:
# | In file included from D:\github\actions-runner\_work\llvm\llvm\install\bin\..\include\syclcompat/memory.hpp:54:
# | D:\github\actions-runner\_work\llvm\llvm\install\bin\..\include\syclcompat/device.hpp:421:2: warning: "Querying the number of bytes of free memory is not supported" [-W#warnings]
# | 421 | #warning "Querying the number of bytes of free memory is not supported"
# | | ^
# | 1 warning generated.
# `-----------------------------
# RUN: at line 33
env ONEAPI_DEVICE_SELECTOR=level_zero:gpu D:\github\actions-runner\_work\llvm\llvm\build-e2e\syclcompat\memory\Output\memory_management_test3.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu 'D:\github\actions-runner\_work\llvm\llvm\build-e2e\syclcompat\memory\Output\memory_management_test3.cpp.tmp.out'
# .---command stdout------------
# | void test_free_memory()
# | void test_free_memory_q()
# | void test_wait_and_free_memory()
# | void test_wait_and_free_memory_q()
# | void test_memcpy_async()
# | void test_memcpy_async_q()
# | void test_memcpy_async_pitched()
# | void test_memcpy_async_pitched_q()
# `-----------------------------
# error: command failed with exit status: 0xc0000005
https://github.com/intel/llvm/actions/runs/10583340147/job/29328220709
To reproduce
No response
Environment
No response
Additional context
No response
@intel/syclcompat-lib-reviewers FYI, thanks
Faild on NVIDIA as well: https://github.com/intel/llvm/actions/runs/14507584036/job/40700155963?pr=17948#logs
-- Testing: 2333 tests, 12 workers --
FAIL: SYCL :: syclcompat/memory/memory_management_test3.cpp (551 of 2333)
******************** TEST 'SYCL :: syclcompat/memory/memory_management_test3.cpp' FAILED ********************
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 33
env SYCL_UR_CUDA_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=cuda:gpu /__w/llvm/llvm/build-e2e/syclcompat/memory/Output/memory_management_test3.cpp.tmp.out
# executed command: env SYCL_UR_CUDA_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=cuda:gpu /__w/llvm/llvm/build-e2e/syclcompat/memory/Output/memory_management_test3.cpp.tmp.out
# .---command stdout------------
# | void test_free_memory()
# | void test_free_memory_q()
# | void test_wait_and_free_memory()
# | void test_wait_and_free_memory_q()
# | void test_memcpy_async()
# | void test_memcpy_async_q()
# | void test_memcpy_async_pitched()
# | void test_memcpy_async_pitched_q()
# `-----------------------------
# .---command stderr------------
# | memory_management_test3.cpp.tmp.out: /__w/llvm/llvm/src/sycl/source/detail/scheduler/commands.cpp:942: virtual bool sycl::detail::Command::enqueue(EnqueueResultT &, BlockingT, std::vector<Command *> &): Assertion `!MMarkedForCleanup' failed.
# `-----------------------------
# error: command failed with exit status: -6
https://github.com/intel/llvm/actions/runs/16530220024 and https://github.com/intel/llvm/actions/runs/16532284827/attempts/1?pr=19600 had it today.
memory_management_test3_usmnone.cpp failure also observed on https://github.com/intel/llvm/actions/runs/16573644479/job/46875259147?pr=19582
Failed here as well: https://github.com/intel/llvm/actions/runs/16642645974/job/47097722849?pr=19651 PVC Linux.
Closing this JIRA as SYCLCompat was removed in https://github.com/intel/llvm/pull/20662