Skip to content

Commit e413c6c

Browse files
author
Hugh Delaney
committed
Make return UR_RESULT_SUCCESS
1 parent e2f9eb0 commit e413c6c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

source/adapters/hip/ur_interface_loader.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,13 +310,17 @@ UR_DLLEXPORT ur_result_t UR_APICALL urGetUsmP2PExpProcAddrTable(
310310
// TODO: Implement
311311
UR_DLLEXPORT ur_result_t UR_APICALL urGetBindlessImagesExpProcAddrTable(
312312
ur_api_version_t, ur_bindless_images_exp_dditable_t *) {
313-
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
313+
// This needs to return UR_RESULT_SUCCESS or else the platform can't be
314+
// initialized
315+
return UR_RESULT_SUCCESS;
314316
}
315317

316318
// TODO: Implement
317319
UR_DLLEXPORT ur_result_t UR_APICALL
318320
urGetUSMExpProcAddrTable(ur_api_version_t, ur_usm_exp_dditable_t *) {
319-
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
321+
// This needs to return UR_RESULT_SUCCESS or else the platform can't be
322+
// initialized
323+
return UR_RESULT_SUCCESS;
320324
}
321325

322326
UR_DLLEXPORT ur_result_t UR_APICALL urGetVirtualMemProcAddrTable(

0 commit comments

Comments
 (0)