Skip to content

Commit 71bf76e

Browse files
committed
Nits.
Signed-off-by: Julian Oppermann <[email protected]>
1 parent 1cfec8b commit 71bf76e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sycl-jit/jit-compiler/lib/KernelFusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ calculateHash(InMemoryFile SourceFile, View<InMemoryFile> IncludeFiles,
265265
auto Hash = *HashOrError;
266266
auto Stop = std::chrono::high_resolution_clock::now();
267267

268-
std::chrono::duration<double, std::milli> HashTime = Stop - Start;
269268
if (UserArgList.hasArg(clang::driver::options::OPT_ftime_trace_EQ)) {
269+
std::chrono::duration<double, std::milli> HashTime = Stop - Start;
270270
llvm::dbgs() << "Hashing of " << SourceFile.Path << " took "
271271
<< int(HashTime.count()) << " ms\n";
272272
}

sycl/source/detail/persistent_device_code_cache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ PersistentDeviceCodeCache::getDeviceCodeIRPath(const std::string &Key) {
950950
return {};
951951
}
952952

953-
return cache_root + "/ext_kernel_compiler" + "/" + Key;
953+
return cache_root + "/ext_kernel_compiler/" + Key;
954954
}
955955

956956
/* Returns true if persistent cache is enabled.

0 commit comments

Comments
 (0)