Skip to content

Commit e50be3d

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

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

sycl/source/detail/jit_compiler.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ class jit_compiler {
9494
using FuseKernelsFuncT = decltype(::jit_compiler::fuseKernels) *;
9595
using MaterializeSpecConstFuncT =
9696
decltype(::jit_compiler::materializeSpecConstants) *;
97-
using CalculateHashFuncT =
98-
decltype(::jit_compiler::calculateHash) *;
97+
using CalculateHashFuncT = decltype(::jit_compiler::calculateHash) *;
9998
using CompileSYCLFuncT = decltype(::jit_compiler::compileSYCL) *;
10099
using ResetConfigFuncT = decltype(::jit_compiler::resetJITConfiguration) *;
101100
using AddToConfigFuncT = decltype(::jit_compiler::addToJITConfiguration) *;

sycl/source/detail/kernel_compiler/kernel_compiler_sycl.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ bool SYCL_JIT_Compilation_Available() {
305305

306306
std::pair<sycl_device_binaries, std::string> SYCL_JIT_to_SPIRV(
307307
[[maybe_unused]] const std::string &SYCLSource,
308-
[[maybe_unused]] const include_pairs_t& IncludePairs,
308+
[[maybe_unused]] const include_pairs_t &IncludePairs,
309309
[[maybe_unused]] const std::vector<std::string> &UserArgs,
310310
[[maybe_unused]] std::string *LogPtr,
311311
[[maybe_unused]] const std::vector<std::string> &RegisteredKernelNames) {
@@ -314,8 +314,8 @@ std::pair<sycl_device_binaries, std::string> SYCL_JIT_to_SPIRV(
314314
std::string Prefix = "rtc_" + std::to_string(CompilationID++) + "$";
315315
sycl_device_binaries Binaries =
316316
sycl::detail::jit_compiler::get_instance().compileSYCL(
317-
SYCLSource, IncludePairs, UserArgs, LogPtr,
318-
RegisteredKernelNames, Prefix);
317+
SYCLSource, IncludePairs, UserArgs, LogPtr, RegisteredKernelNames,
318+
Prefix);
319319
return std::make_pair(Binaries, std::move(Prefix));
320320
#else
321321
throw sycl::exception(sycl::errc::build,

0 commit comments

Comments
 (0)