diff --git a/sycl-jit/jit-compiler/include/KernelFusion.h b/sycl-jit/jit-compiler/include/KernelFusion.h index 22a38eae68cd1..3ce32b147d7e9 100644 --- a/sycl-jit/jit-compiler/include/KernelFusion.h +++ b/sycl-jit/jit-compiler/include/KernelFusion.h @@ -62,14 +62,12 @@ class RTCResult { : Failed{true}, BundleInfo{}, ErrorMessage{ErrorMessage} {} explicit RTCResult(RTCBundleInfo &&BundleInfo, const char *BuildLog) - : Failed{false}, BundleInfo{std::move(BundleInfo)}, ErrorMessage{ - BuildLog} {} + : Failed{false}, BundleInfo{std::move(BundleInfo)}, + ErrorMessage{BuildLog} {} bool failed() const { return Failed; } - const char *getErrorMessage() const { - return ErrorMessage.c_str(); - } + const char *getErrorMessage() const { return ErrorMessage.c_str(); } const RTCBundleInfo &getBundleInfo() const { assert(!failed() && "No bundle info"); diff --git a/sycl/test-e2e/KernelCompiler/kernel_compiler_sycl_jit.cpp b/sycl/test-e2e/KernelCompiler/kernel_compiler_sycl_jit.cpp index 3f48120a3bac6..3a3e402ede786 100644 --- a/sycl/test-e2e/KernelCompiler/kernel_compiler_sycl_jit.cpp +++ b/sycl/test-e2e/KernelCompiler/kernel_compiler_sycl_jit.cpp @@ -294,7 +294,7 @@ int test_warning() { return 0; } -int main(int argc, char**) { +int main(int argc, char **) { #ifdef SYCL_EXT_ONEAPI_KERNEL_COMPILER int optional_tests = (argc > 1) ? test_warning() : 0; return test_build_and_run() || test_unsupported_options() || test_error() ||