Skip to content

Commit 4e6a0e5

Browse files
committed
Report correct extension string for devicelib assert in cuda + hip.
1 parent 89dc3a5 commit 4e6a0e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/adapters/cuda/device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
621621
case UR_DEVICE_INFO_EXTENSIONS: {
622622

623623
std::string SupportedExtensions = "cl_khr_fp64 cl_khr_subgroups ";
624-
SupportedExtensions += "pi_ext_intel_devicelib_assert ";
624+
SupportedExtensions += "cl_intel_devicelib_assert ";
625625
// Return supported for the UR command-buffer experimental feature
626626
SupportedExtensions += "ur_exp_command_buffer ";
627627
SupportedExtensions += "ur_exp_usm_p2p ";

source/adapters/hip/device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
548548
// postprocessing is NOP. HIP 4.3 docs indicate support for
549549
// native asserts are in progress
550550
std::string SupportedExtensions = "";
551-
SupportedExtensions += "pi_ext_intel_devicelib_assert ";
551+
SupportedExtensions += "cl_intel_devicelib_assert ";
552552
SupportedExtensions += "ur_exp_usm_p2p ";
553553

554554
int RuntimeVersion = 0;

0 commit comments

Comments
 (0)