Skip to content

Commit 18fccab

Browse files
committed
clang formatted.
Signed-off-by: rbegam <[email protected]>
1 parent 6b3b41d commit 18fccab

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

sycl/source/detail/program_impl.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -358,13 +358,14 @@ void program_impl::create_cl_program_with_source(const string_class &Source) {
358358
const char *Src = Source.c_str();
359359
size_t Size = Source.size();
360360
const detail::plugin &Plugin = getPlugin();
361-
RT::PiResult Err = Plugin.call_nocheck<PiApiKind::piclProgramCreateWithSource>(
362-
MContext->getHandleRef(), 1, &Src, &Size, &MProgram);
361+
RT::PiResult Err =
362+
Plugin.call_nocheck<PiApiKind::piclProgramCreateWithSource>(
363+
MContext->getHandleRef(), 1, &Src, &Size, &MProgram);
363364

364-
if (getPlugin().getBackend() == cl::sycl::backend::level_zero &&
365+
if (Plugin.getBackend() == cl::sycl::backend::level_zero &&
365366
Err == PI_INVALID_OPERATION) {
366367
throw feature_not_supported(
367-
"piclProgramCreateWithSource: not supported in Level Zero",
368+
"piclProgramCreateWithSource is not supported in Level Zero",
368369
PI_INVALID_OPERATION);
369370
}
370371
}

0 commit comments

Comments
 (0)