Skip to content

[L0 v2] Add full support for async alloc spec #18488

Open
@staniewzki

Description

@staniewzki

Describe the bug

After enabling AsyncAlloc e2e tests for adapter L0 v2 in #18179, the following e2e tests fail due to unimplemented features:
AsyncAlloc/device/ooo_queue_async_alloc_from_pool.cpp
AsyncAlloc/device/async_alloc_from_pool.cpp
AsyncAlloc/device/async_alloc_from_default_pool.cpp
AsyncAlloc/device/async_alloc_zero_init.cpp

********************
FAIL: SYCL :: AsyncAlloc/device/async_alloc_from_pool.cpp (1637 of 2365)
******************** TEST 'SYCL :: AsyncAlloc/device/async_alloc_from_pool.cpp' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
env ONEAPI_DEVICE_SELECTOR=level_zero:gpu  /__w/llvm/llvm/build-e2e/AsyncAlloc/device/Output/async_alloc_from_pool.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu /__w/llvm/llvm/build-e2e/AsyncAlloc/device/Output/async_alloc_from_pool.cpp.tmp.out
# .---command stdout------------
# | Test passed!
# `-----------------------------
# RUN: at line 2
env env UR_LOADER_USE_LEVEL_ZERO_V2=1 ONEAPI_DEVICE_SELECTOR=level_zero:gpu  /__w/llvm/llvm/build-e2e/AsyncAlloc/device/Output/async_alloc_from_pool.cpp.tmp.out
# executed command: env env UR_LOADER_USE_LEVEL_ZERO_V2=1 ONEAPI_DEVICE_SELECTOR=level_zero:gpu /__w/llvm/llvm/build-e2e/AsyncAlloc/device/Output/async_alloc_from_pool.cpp.tmp.out
# .---command stderr------------
# | SYCL exception caught! : Native API failed. Native API returns: 44 (UR_RESULT_ERROR_UNSUPPORTED_FEATURE)
# `-----------------------------
# error: command failed with exit status: 2

--

********************

Relevant job: https://github.com/intel/llvm/actions/runs/15021413294/job/42212969632?pr=18179

To reproduce

No response

Environment

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglevel-zeroIssues related to the Level Zero backendunified-runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions