diff --git a/sycl/plugins/hip/pi_hip.cpp b/sycl/plugins/hip/pi_hip.cpp index 0a234339384bc..d525c24dff4c4 100644 --- a/sycl/plugins/hip/pi_hip.cpp +++ b/sycl/plugins/hip/pi_hip.cpp @@ -1415,7 +1415,16 @@ pi_result hip_piDeviceGetInfo(pi_device device, pi_device_info param_name, return getInfo(param_value_size, param_value, param_value_size_ret, ""); } case PI_DEVICE_INFO_EXTENSIONS: { - return getInfo(param_value_size, param_value, param_value_size_ret, ""); + // TODO: Remove comment when HIP support native asserts. + // DEVICELIB_ASSERT extension is set so fallback assert + // postprocessing is NOP. HIP 4.3 docs indicate support for + // native asserts are in progress + std::string SupportedExtensions = ""; + SupportedExtensions += PI_DEVICE_INFO_EXTENSION_DEVICELIB_ASSERT; + SupportedExtensions += " "; + + return getInfo(param_value_size, param_value, param_value_size_ret, + SupportedExtensions.c_str()); } case PI_DEVICE_INFO_PRINTF_BUFFER_SIZE: { // The minimum value for the FULL profile is 1 MB.