Merge pull request #1031 from yxsamliu/fix-init

Fix missing arg in HIP_INIT_API

[ROCm/hip commit: 8dc8c58ddd]
Этот коммит содержится в:
Maneesh Gupta
2019-04-24 16:49:23 +05:30
коммит произвёл GitHub
родитель b17642bb10 d4bce6c019
Коммит 72c7388422
+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));
}