Skip to content

Commit e18fb32

Browse files
committed
remove duplicate
1 parent c5140b6 commit e18fb32

File tree

1 file changed

+0
-19
lines changed
  • unified-runtime/source/loader/layers/sanitizer/tsan

1 file changed

+0
-19
lines changed

unified-runtime/source/loader/layers/sanitizer/tsan/tsan_ddi.cpp

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,25 +1379,6 @@ __urdlllocal ur_result_t UR_APICALL urGetEnqueueExpProcAddrTable(
13791379
return UR_RESULT_SUCCESS;
13801380
}
13811381

1382-
///////////////////////////////////////////////////////////////////////////////
1383-
/// @brief Exported function for filling application's EnqueueExp table
1384-
/// with current process' addresses
1385-
///
1386-
/// @returns
1387-
/// - ::UR_RESULT_SUCCESS
1388-
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
1389-
__urdlllocal ur_result_t UR_APICALL urGetEnqueueExpProcAddrTable(
1390-
/// [in,out] pointer to table of DDI function pointers
1391-
ur_enqueue_exp_dditable_t *pDdiTable) {
1392-
if (nullptr == pDdiTable) {
1393-
return UR_RESULT_ERROR_INVALID_NULL_POINTER;
1394-
}
1395-
1396-
pDdiTable->pfnCooperativeKernelLaunchExp =
1397-
ur_sanitizer_layer::tsan::urEnqueueCooperativeKernelLaunchExp;
1398-
return UR_RESULT_SUCCESS;
1399-
}
1400-
14011382
} // namespace tsan
14021383

14031384
ur_result_t initTsanDDITable(ur_dditable_t *dditable) {

0 commit comments

Comments
 (0)