Skip to content

Commit 3e43f4c

Browse files
committed
Formatting
1 parent 719ff74 commit 3e43f4c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

sycl/test/syclcompat/launch/launch_inlining.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
* Ensure kernels are inlined
2121
**************************************************************************/
2222
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fgpu-inline-threshold=0 %if cl_options %{/clang:-S /clang:-emit-llvm%} %else %{-S -emit-llvm%} %s -o - | FileCheck %s
23-
// We set -fgpu-inline-threshold=0 to disable heuristic inlining for the purposes of the test
23+
// We set -fgpu-inline-threshold=0 to disable heuristic inlining for the
24+
// purposes of the test
2425
#include <sycl/detail/core.hpp>
2526
#include <sycl/group_barrier.hpp>
2627
#include <syclcompat/launch.hpp>
@@ -64,12 +65,13 @@ void dynamic_local_mem_typed_kernel(T *data, char *local_mem) {
6465
};
6566

6667
int test_write_mem() {
67-
compat_exp::launch_policy my_dim3_config(syclcompat::dim3{32}, syclcompat::dim3{32});
68+
compat_exp::launch_policy my_dim3_config(syclcompat::dim3{32},
69+
syclcompat::dim3{32});
6870

6971
const int memsize = 1024;
7072
int *d_a = (int *)syclcompat::malloc(memsize);
7173
compat_exp::launch<write_mem_kernel<int>>(my_dim3_config, d_a,
72-
memsize / sizeof(int))
74+
memsize / sizeof(int))
7375
.wait();
7476

7577
syclcompat::free(d_a);
@@ -93,4 +95,3 @@ int test_lmem_launch() {
9395

9496
return 0;
9597
}
96-

0 commit comments

Comments
 (0)