Fix missing arg in HIP_INIT_API

[ROCm/hip commit: bb5c620b13]
这个提交包含在:
Yaxun (Sam) Liu 于 2019-04-18 16:18:31 -04:00 提交
1 父节点 d4c72ad357
当前提交 d4bce6c019
1 个文件已更改
+1 -1
+1 -1
查看文件
@@ -474,7 +474,7 @@ hipError_t hipModuleGetFunction(hipFunction_t* hfunc, hipModule_t hmod, const ch
// Get kernel for the given hsa agent. Internal use only.
hipError_t hipModuleGetFunctionEx(hipFunction_t* hfunc, hipModule_t hmod,
const char* name, hsa_agent_t *agent) {
HIP_INIT_API(hipModuleGetFunctionEx, hfunc, hmod, name);
HIP_INIT_API(hipModuleGetFunctionEx, hfunc, hmod, name, agent);
return ihipLogStatus(ihipModuleGetFunction(hfunc, hmod, name, agent));
}