Skip to content

Commit 5eee9e3

Browse files
committed
init program proc exp table
Signed-off-by: jinge90 <[email protected]>
1 parent 6c5d277 commit 5eee9e3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/loader/layers/sanitizer/ur_sanddi.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,11 @@ ur_result_t context_t::init(ur_dditable_t *dditable,
652652
UR_API_VERSION_CURRENT, &dditable->Program);
653653
}
654654

655+
if (UR_RESULT_SUCCESS == result) {
656+
result = ur_sanitizer_layer::urGetProgramExpProcAddrTable(
657+
UR_API_VERSION_CURRENT, &dditable->ProgramExp);
658+
}
659+
655660
if (UR_RESULT_SUCCESS == result) {
656661
result = ur_sanitizer_layer::urGetEnqueueProcAddrTable(
657662
UR_API_VERSION_CURRENT, &dditable->Enqueue);

0 commit comments

Comments
 (0)