-
Notifications
You must be signed in to change notification settings - Fork 808
Open
Labels
Description
Describe the bug
The test fails because it expects the native allocation ptr and the ptr from the buffer to be the same. Currently, the L0v2 adapter works around integrated buffers by using a device allocation and copying the data back to the host ptr on release.
This test is expected to pass after integrated buffers are enabled in the adapter.
======== Adapters~level_zero~interop-get-native-mem.cpp log file =============================================
-- Testing: 1 tests, 1 workers --
FAIL: SYCL :: Adapters/level_zero/interop-get-native-mem.cpp (1 of 1)
******************** TEST 'SYCL :: Adapters/level_zero/interop-get-native-mem.cpp' FAILED ********************
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 8
env ONEAPI_DEVICE_SELECTOR=level_zero:gpu /netbatch/ax03457_00/exp/sycl-in-tree~8-8/opt_use_gpu/build/Adapters/level_zero/Output/interop-get-native-mem.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu '/netbatch/ax03457_00/exp/sycl-in-tree~8-8/opt_use_gpu/build/Adapters/level_zero/Output/interop-get-native-mem.cpp.tmp.out'
# .---command stderr------------
# | interop-get-native-mem.cpp.tmp.out: interop-get-native-mem.cpp:123: auto main()::(anonymous class)::operator()(handler &)::(anonymous class)::operator()(const interop_handle &) const: Assertion `NativeBuffer == DevicePtr' failed.
# `-----------------------------
# error: command failed with exit status: -6
--
********************
********************
Failed Tests (1):
SYCL :: Adapters/level_zero/interop-get-native-mem.cpp
Testing Time: 0.24s
Total Discovered Tests: 1
Failed: 1 (100.00%)
======== Adapters~level_zero~interop-get-native-mem.cpp log file =============================================
-------- other files (possibly of interest)
To reproduce
Run Adapters~level_zero~interop-get-native-mem.cpp E2E test with L0v2 adapter enabled.
Environment
Integrated GPU.
Additional context
No response