Skip to content

Commit 6759053

Browse files
authored
Merge pull request #1964 from aarongreig/aaron/correctAssertExtension
Report correct extension string for devicelib assert in cuda + hip.
2 parents a9645bd + 4e6a0e5 commit 6759053

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
@@ -616,7 +616,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
616616
case UR_DEVICE_INFO_EXTENSIONS: {
617617

618618
std::string SupportedExtensions = "cl_khr_fp64 cl_khr_subgroups ";
619-
SupportedExtensions += "pi_ext_intel_devicelib_assert ";
619+
SupportedExtensions += "cl_intel_devicelib_assert ";
620620
// Return supported for the UR command-buffer experimental feature
621621
SupportedExtensions += "ur_exp_command_buffer ";
622622
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)