SWDEV-440718 - Suffix hip bin name with _6.

Link to amd_comgr_2.dll

Change-Id: I5d21af0cc91f2082099273f75ebe1c3279b6365d
Этот коммит содержится в:
Ajay
2024-01-11 12:08:09 -08:00
коммит произвёл Maneesh Gupta
родитель e9957151f3
Коммит b53fcb4d02
3 изменённых файлов: 9 добавлений и 3 удалений
+4 -2
Просмотреть файл
@@ -57,9 +57,11 @@ bool Comgr::LoadLib(bool is_versioned) {
cep_.handle = Os::loadLibrary(comgr_lib_name);
#endif
} else {
static constexpr const char* comgr_lib_name =
std::string comgr_major_dll = "amd_comgr_" +
std::to_string(AMD_COMGR_INTERFACE_VERSION_MAJOR) + ".dll";
static const char* comgr_lib_name =
LP64_SWITCH(WINDOWS_SWITCH("amd_comgr32.dll", "libamd_comgr32.so.2"),
WINDOWS_SWITCH("amd_comgr.dll", "libamd_comgr.so.2"));
WINDOWS_SWITCH(comgr_major_dll.c_str(), "libamd_comgr.so.2"));
cep_.handle = Os::loadLibrary(comgr_lib_name);
}
if (nullptr == cep_.handle) {