Skip to content

Commit a881995

Browse files
author
Victor Lomuller
committed
format
1 parent 8d121ec commit a881995

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

llvm/lib/SYCLLowerIR/LowerWGLocalMemory.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ static bool allocaWGLocalMemory(Module &M) {
171171
}
172172

173173
// For dynamic memory we have 2 case:
174-
// - Direct for CUDA/HIP: we create a placeholder and set the memory on launch.
174+
// - Direct for CUDA/HIP: we create a placeholder and set the memory on
175+
// launch.
175176
// - Indirect for OpenCL/Level0: we create a shared value holding the pointer
176177
// to the buffer passed as argument.
177178
static bool dynamicWGLocalMemory(Module &M) {

sycl/include/sycl/ext/oneapi/work_group_scratch_memory.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ inline void *get_work_group_scratch_memory() {
3131
// Property
3232
struct work_group_scratch_size
3333
: ::sycl::ext::oneapi::experimental::detail::run_time_property_key<
34-
work_group_scratch_size,
35-
::sycl::ext::oneapi::experimental::detail::PropKind::WorkGroupScratchSize> {
34+
work_group_scratch_size, ::sycl::ext::oneapi::experimental::detail::
35+
PropKind::WorkGroupScratchSize> {
3636
// Runtime property part
3737
constexpr work_group_scratch_size(size_t bytes) : size(bytes) {}
3838

0 commit comments

Comments
 (0)