Browse Source

修改hccl接口相关

pull/642/head
dajunli 5 years ago
parent
commit
1897ff3cfb
4 changed files with 3 additions and 4 deletions
  1. +1
    -1
      ge/graph/manager/memory_api.cc
  2. +1
    -1
      metadef
  3. +1
    -1
      parser
  4. +0
    -1
      third_party/fwkacllib/inc/hccl/hcom.h

+ 1
- 1
ge/graph/manager/memory_api.cc View File

@@ -63,7 +63,7 @@ Status RdmaRemoteRegister(const std::vector<HostVarInfo> &var_info, rtMemType_t
});

auto hcom_remote_mem_register =
(HcclResult(*)(const MemRegisterAddr *, uint32_t))dlsym(handle, "hcom_remote_access_mem_register");
(HcclResult(*)(const MemRegisterAddr *, uint32_t))dlsym(handle, "HcomRegRemoteAccessMem");
if (hcom_remote_mem_register == nullptr) {
GELOGE(FAILED, "Failed to invoke hcom_remote_mem_register function.");
return FAILED;


+ 1
- 1
metadef

@@ -1 +1 @@
Subproject commit 129b50b41f79d0dfeb9fe8987b1c19c9ac51eb8b
Subproject commit dba83744a3ffe3d5f89496e69bb65c50f800c299

+ 1
- 1
parser

@@ -1 +1 @@
Subproject commit e9f7d0197aba57eb5247cb1e029c10e393631c89
Subproject commit ce574894f13cd94749d1a3964a13e8c97c20434a

+ 0
- 1
third_party/fwkacllib/inc/hccl/hcom.h View File

@@ -251,6 +251,5 @@ HcclResult HcomExecEnqueueRemoteAccess(const std::string& remoteAccessType,

#ifdef __cplusplus
}

#endif // __cplusplus
#endif // HCOM_H_

Loading…
Cancel
Save