SWDEV-470698 - fix formatting, add format check workflow (#657)

This commit is contained in:
Danylo Lytovchenko authored and GitHub committed 2025-08-20 19:58:06 +05:30
1 parent 5840940caa
commit f7338717ae
1574 files changed
+162903 -199277

No files matched your search

+7 -7
View File
@@ -51,16 +51,16 @@ bool Comgr::LoadLib(bool is_versioned) {
comgr_versioned_name = kComgrPrefix + major_version + minor_version + std::string(".dll");
static const char* comgr_lib_name =
LP64_SWITCH(WINDOWS_SWITCH("amd_comgr32.dll", "libamd_comgr32.so.3"),
WINDOWS_SWITCH(comgr_versioned_name.c_str(), "libamd_comgr.so.3"));
LP64_SWITCH(WINDOWS_SWITCH("amd_comgr32.dll", "libamd_comgr32.so.3"),
WINDOWS_SWITCH(comgr_versioned_name.c_str(), "libamd_comgr.so.3"));
cep_.handle = Os::loadLibrary(comgr_lib_name);
#endif
} else {
std::string comgr_major_dll = "amd_comgr_" +
std::to_string(AMD_COMGR_INTERFACE_VERSION_MAJOR) + ".dll";
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.3"),
WINDOWS_SWITCH(comgr_major_dll.c_str(), "libamd_comgr.so.3"));
LP64_SWITCH(WINDOWS_SWITCH("amd_comgr32.dll", "libamd_comgr32.so.3"),
WINDOWS_SWITCH(comgr_major_dll.c_str(), "libamd_comgr.so.3"));
cep_.handle = Os::loadLibrary(comgr_lib_name);
}
if (nullptr == cep_.handle) {
@@ -128,5 +128,5 @@ bool Comgr::LoadLib(bool is_versioned) {
return true;
}
}
} // namespace amd
#endif