SWDEV-535184 - Fix to switch HIP_RUNTIME_API_TABLE_STEP_VERSION 9 and 10 (#448)
[ROCm/clr commit: 54a2e943d7]
此提交包含在:
@@ -1571,15 +1571,15 @@ struct HipDispatchTable {
|
||||
t_hipGraphExecBatchMemOpNodeSetParams hipGraphExecBatchMemOpNodeSetParams_fn;
|
||||
|
||||
// HIP_RUNTIME_API_TABLE_STEP_VERSION == 9
|
||||
t_hipEventRecordWithFlags hipEventRecordWithFlags_fn;
|
||||
|
||||
// HIP_RUNTIME_API_TABLE_STEP_VERSION == 10
|
||||
t_hipLinkAddData hipLinkAddData_fn;
|
||||
t_hipLinkAddFile hipLinkAddFile_fn;
|
||||
t_hipLinkComplete hipLinkComplete_fn;
|
||||
t_hipLinkCreate hipLinkCreate_fn;
|
||||
t_hipLinkDestroy hipLinkDestroy_fn;
|
||||
|
||||
// HIP_RUNTIME_API_TABLE_STEP_VERSION == 10
|
||||
t_hipEventRecordWithFlags hipEventRecordWithFlags_fn;
|
||||
|
||||
// HIP_RUNTIME_API_TABLE_STEP_VERSION = 11
|
||||
t_hipLaunchKernelExC hipLaunchKernelExC_fn;
|
||||
t_hipDrvLaunchKernelEx hipDrvLaunchKernelEx_fn;
|
||||
|
||||
@@ -1976,13 +1976,14 @@ HIP_ENFORCE_ABI(HipDispatchTable, hipGraphBatchMemOpNodeGetParams_fn, 465);
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipGraphBatchMemOpNodeSetParams_fn, 466);
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipGraphExecBatchMemOpNodeSetParams_fn, 467);
|
||||
// HIP_RUNTIME_API_TABLE_STEP_VERSION == 9
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipEventRecordWithFlags_fn, 468)
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipLinkAddData_fn , 468)
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipLinkAddFile_fn , 469)
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipLinkComplete_fn , 470)
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipLinkCreate_fn , 471)
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipLinkDestroy_fn , 472)
|
||||
// HIP_RUNTIME_API_TABLE_STEP_VERSION == 10
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipLinkAddData_fn , 469)
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipLinkAddFile_fn , 470)
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipLinkComplete_fn , 471)
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipLinkCreate_fn , 472)
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipLinkDestroy_fn , 473)
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipEventRecordWithFlags_fn, 473)
|
||||
|
||||
// HIP_RUNTIME_API_TABLE_STEP_VERSION == 11
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipLaunchKernelExC_fn, 474);
|
||||
HIP_ENFORCE_ABI(HipDispatchTable, hipDrvLaunchKernelEx_fn, 475);
|
||||
|
||||
新增問題並參考
封鎖使用者