Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
uditagarwal97 committed Oct 24, 2024
1 parent a406c29 commit 2f2369a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sycl/source/detail/persistent_device_code_cache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ class PersistentDeviceCodeCache {

/* Sends message to std:cerr stream when SYCL_CACHE_TRACE environemnt is set*/
static void trace(const std::string &msg) {
static const bool traceEnabled = SYCLConfig<SYCL_CACHE_TRACE>::isTraceDiskCache();
static const bool traceEnabled =
SYCLConfig<SYCL_CACHE_TRACE>::isTraceDiskCache();
if (traceEnabled)
std::cerr << "[Persistent Cache]: " << msg << std::endl;
}
Expand Down
1 change: 0 additions & 1 deletion sycl/unittests/config/ConfigTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,4 +324,3 @@ TEST(ConfigTests, CheckSyclCacheTraceTest) {
sycl::detail::SYCLConfig<SYCL_CACHE_TRACE>::reset();
TestConfig(0, 0, 0, 0);
}

0 comments on commit 2f2369a

Please sign in to comment.