Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pvelesko committed Nov 5, 2024
1 parent a360a39 commit 89634ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/OpenCL/CHIPBackendOpenCL.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,9 @@ void CHIPModuleOpenCL::compile(chipstar::Device *ChipDev) {
appendRuntimeObjects(*ChipCtxOcl->get(), *ChipDevOcl, ClObjects);

auto linkStart = std::chrono::high_resolution_clock::now();
Program_ = cl::linkProgram(ClObjects, nullptr, nullptr, nullptr, &Err);
auto Flags = Backend->getDefaultJitFlags() + " " + ChipEnvVars.getJitFlags();
logInfo("JIT Link flags: {}", Flags);
Program_ = cl::linkProgram(ClObjects, Flags.c_str(), nullptr, nullptr, &Err);
auto linkEnd = std::chrono::high_resolution_clock::now();

Check warning on line 1160 in src/backend/OpenCL/CHIPBackendOpenCL.cc

View workflow job for this annotation

GitHub Actions / cpp-linter

src/backend/OpenCL/CHIPBackendOpenCL.cc:1160:10 [readability-identifier-naming]

invalid case style for local variable 'linkEnd'
auto linkDuration = std::chrono::duration_cast<std::chrono::microseconds>(
linkEnd - linkStart);
Expand Down

0 comments on commit 89634ec

Please sign in to comment.