Skip to content

Commit 82d8fa8

Browse files
committed
Code formatting
Signed-off-by: Lukas Sommer <[email protected]>
1 parent 482c07e commit 82d8fa8

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

sycl-jit/jit-compiler/include/KernelFusion.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,12 @@ class RTCResult {
6262
: Failed{true}, BundleInfo{}, ErrorMessage{ErrorMessage} {}
6363

6464
explicit RTCResult(RTCBundleInfo &&BundleInfo, const char *BuildLog)
65-
: Failed{false}, BundleInfo{std::move(BundleInfo)}, ErrorMessage{
66-
BuildLog} {}
65+
: Failed{false}, BundleInfo{std::move(BundleInfo)},
66+
ErrorMessage{BuildLog} {}
6767

6868
bool failed() const { return Failed; }
6969

70-
const char *getErrorMessage() const {
71-
return ErrorMessage.c_str();
72-
}
70+
const char *getErrorMessage() const { return ErrorMessage.c_str(); }
7371

7472
const RTCBundleInfo &getBundleInfo() const {
7573
assert(!failed() && "No bundle info");

sycl/test-e2e/KernelCompiler/kernel_compiler_sycl_jit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ int test_warning() {
294294
return 0;
295295
}
296296

297-
int main(int argc, char**) {
297+
int main(int argc, char **) {
298298
#ifdef SYCL_EXT_ONEAPI_KERNEL_COMPILER
299299
int optional_tests = (argc > 1) ? test_warning() : 0;
300300
return test_build_and_run() || test_unsupported_options() || test_error() ||

0 commit comments

Comments
 (0)