Skip to content

Commit 3e71779

Browse files
authored
[UR][L0] Enable async api device support (#17933)
1 parent 316418d commit 3e71779

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

sycl/test-e2e/AsyncAlloc/device/memory_pool.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %{build} -o %t.out
22
// RUN: %{run} %t.out
33

4+
// XFAIL: level_zero
5+
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/17772
6+
47
#include <iostream>
58
#include <sycl/detail/core.hpp>
69
#include <sycl/properties/queue_properties.hpp>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
config.required_features += ['aspect-ext_oneapi_async_memory_alloc']
2+
# V2 adapter does not support async alloc api yet
3+
config.unsupported_features += ['level_zero_v2_adapter']

unified-runtime/source/adapters/level_zero/device.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,6 +1227,8 @@ ur_result_t urDeviceGetInfo(
12271227
return ReturnValue(true);
12281228
case UR_DEVICE_INFO_MULTI_DEVICE_COMPILE_SUPPORT_EXP:
12291229
return ReturnValue(true);
1230+
case UR_DEVICE_INFO_ASYNC_USM_ALLOCATIONS_SUPPORT_EXP:
1231+
return ReturnValue(true);
12301232
case UR_DEVICE_INFO_CURRENT_CLOCK_THROTTLE_REASONS: {
12311233
ur_device_throttle_reasons_flags_t ThrottleReasons = 0;
12321234
if (!ParamValue) {

0 commit comments

Comments
 (0)