Skip to content

Commit cbf9333

Browse files
committed
update api usage
1 parent 5742102 commit cbf9333

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/loader/layers/sanitizer/asan/asan_ddi.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ __urdlllocal ur_result_t UR_APICALL urProgramLink(
369369
UR_CALL(pfnProgramLink(hContext, count, phPrograms, pOptions, phProgram));
370370

371371
UR_CALL(getAsanInterceptor()->insertProgram(*phProgram));
372-
UR_CALL(getAsanInterceptor()->registerProgram(hContext, *phProgram));
372+
UR_CALL(getAsanInterceptor()->registerProgram(*phProgram));
373373

374374
return UR_RESULT_SUCCESS;
375375
}
@@ -401,7 +401,7 @@ ur_result_t UR_APICALL urProgramLinkExp(
401401
phPrograms, pOptions, phProgram));
402402

403403
UR_CALL(getAsanInterceptor()->insertProgram(*phProgram));
404-
UR_CALL(getAsanInterceptor()->registerProgram(hContext, *phProgram));
404+
UR_CALL(getAsanInterceptor()->registerProgram(*phProgram));
405405

406406
return UR_RESULT_SUCCESS;
407407
}

0 commit comments

Comments
 (0)