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

이 커밋은 다음에 포함됨:
Danylo Lytovchenko 작성하고 GitHub가 2025-08-20 19:58:06 +05:30를 커밋함
1 부모 5840940caa
커밋 f7338717ae
1574 파일이 변경됨
+162903 -199277

검색과 일치하는 파일 없음

+5 -5
파일 보기
@@ -38,14 +38,15 @@ void saxpy(float a, float* x, float* y, float* out, size_t n)
}
)"};
static constexpr size_t num_iterations = 200000; // 20K times
static constexpr size_t num_iterations = 200000; // 20K times
bool CommitBCToFile(char* executable, size_t exe_size, const std::string& bit_code_file) {
std::fstream bc_file;
bc_file.open(bit_code_file, std::ios::out | std::ios::binary);
if (!bc_file) {
WARN("Cannot create file");;
WARN("Cannot create file");
;
return false;
}
@@ -74,7 +75,7 @@ void GetCodeObjectUsingRTC(size_t codeSize, std::vector<char>& code) {
if (logSize) {
std::string log(logSize, '\0');
HIPRTC_CHECK(hiprtcGetProgramLog(prog, &log[0]));
WARN("Log: "<< log);
WARN("Log: " << log);
}
REQUIRE(compileResult == HIPRTC_SUCCESS);
HIPRTC_CHECK(hiprtcGetCodeSize(prog, &codeSize));
@@ -102,7 +103,6 @@ void GetCodeObjectUsingRTC(size_t codeSize, std::vector<char>& code) {
*/
TEST_CASE("Stress_hipModuleLoadUnload") {
size_t code_size = 0;
std::vector<char> code;
GetCodeObjectUsingRTC(code_size, code);
@@ -115,7 +115,7 @@ TEST_CASE("Stress_hipModuleLoadUnload") {
for (size_t iter_idx = 0; iter_idx < num_iterations; ++iter_idx) {
if ((iter_idx % 2000) == 0) {
std::cout<<"Iteration :"<<iter_idx<<std::endl;
std::cout << "Iteration :" << iter_idx << std::endl;
UNSCOPED_INFO("Unscoped Prints");
}