From d4bce6c019fd88a022d78c438629e52bd0d0786e Mon Sep 17 00:00:00 2001 From: "Yaxun (Sam) Liu" Date: Thu, 18 Apr 2019 16:18:31 -0400 Subject: [PATCH] Fix missing arg in HIP_INIT_API [ROCm/hip commit: bb5c620b139b3f740d2e33e95759c03853339d4f] --- projects/hip/src/hip_module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/src/hip_module.cpp b/projects/hip/src/hip_module.cpp index 05daca6055..e1a3b1ff65 100644 --- a/projects/hip/src/hip_module.cpp +++ b/projects/hip/src/hip_module.cpp @@ -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)); }