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

このコミットが含まれているのは:
Danylo Lytovchenko
2025-08-20 16:28:06 +02:00
committed by GitHub
コミット f7338717ae
1574個のファイルの変更162972行の追加199346行の削除
+7 -7
ファイルの表示
@@ -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