Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pvelesko committed Oct 13, 2024
1 parent a715cc7 commit a884ed0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/backend/Level0/CHIPBackendLevel0.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2378,7 +2378,8 @@ void save(const ze_module_desc_t &desc, const ze_module_handle_t &module) {
}

std::string cacheDir = ChipEnvVars.getModuleCacheDir().value();
std::string fullPath = cacheDir + "/chipstar_module_cache_" + std::to_string(hash);
std::string fullPath =

Check warning on line 2381 in src/backend/Level0/CHIPBackendLevel0.cc

View workflow job for this annotation

GitHub Actions / cpp-linter

src/backend/Level0/CHIPBackendLevel0.cc:2381:15 [readability-identifier-naming]

invalid case style for local variable 'fullPath'
cacheDir + "/chipstar_module_cache_" + std::to_string(hash);

size_t binarySize;
zeStatus = zeModuleGetNativeBinary(module, &binarySize, nullptr);
Expand Down Expand Up @@ -2423,7 +2424,8 @@ bool load(ze_module_desc_t &desc) {
}

std::string cacheDir = ChipEnvVars.getModuleCacheDir().value();
std::string fullPath = cacheDir + "/chipstar_module_cache_" + std::to_string(hash);
std::string fullPath =

Check warning on line 2427 in src/backend/Level0/CHIPBackendLevel0.cc

View workflow job for this annotation

GitHub Actions / cpp-linter

src/backend/Level0/CHIPBackendLevel0.cc:2427:15 [readability-identifier-naming]

invalid case style for local variable 'fullPath'
cacheDir + "/chipstar_module_cache_" + std::to_string(hash);
// Open the binary file
std::ifstream inFile(fullPath, std::ios::in | std::ios::binary);
if (!inFile) {
Expand Down

0 comments on commit a884ed0

Please sign in to comment.