Skip to content

Commit 2178c35

Browse files
committed
Added hip/l0 p2p ext string.
Signed-off-by: JackAKirk <[email protected]>
1 parent 18b0fdb commit 2178c35

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

source/adapters/hip/device.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
549549
// native asserts are in progress
550550
std::string SupportedExtensions = "";
551551
SupportedExtensions += "pi_ext_intel_devicelib_assert ";
552+
SupportedExtensions += "ur_exp_usm_p2p ";
552553

553554
int RuntimeVersion = 0;
554555
UR_CHECK_ERROR(hipRuntimeGetVersion(&RuntimeVersion));

source/adapters/level_zero/device.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(
247247
SupportedExtensions += ("ur_exp_command_buffer ");
248248
// Return supported for the UR multi-device compile experimental feature
249249
SupportedExtensions += ("ur_exp_multi_device_compile ");
250+
SupportedExtensions += ("ur_exp_usm_p2p ");
250251

251252
return ReturnValue(SupportedExtensions.c_str());
252253
}

0 commit comments

Comments
 (0)