Skip to content
Snippets Groups Projects
Commit a481ccf2 authored by Christoph Alt's avatar Christoph Alt
Browse files

Merge branch 'fhennig/clang-format-off' into 'master'

Fix clang-format off directive for older LLVM versions

See merge request !27
parents b1c47558 c722ae3e
1 merge request!27Fix clang-format off directive for older LLVM versions
Pipeline #77689 passed with stages
in 5 minutes and 36 seconds
......@@ -196,8 +196,8 @@ class GpuInvocationBuilder:
)
return make_sequence(
"// clang-format off: "
"[pystencils-sfg] Formatting may add illegal spaces between angular brackets in `<<< >>>`.",
"/* clang-format off */",
"/* [pystencils-sfg] Formatting may add illegal spaces between angular brackets in `<<< >>>` */",
SfgGpuKernelInvocation(
self._kernel_handle,
stmt_grid_size,
......@@ -205,7 +205,7 @@ class GpuInvocationBuilder:
shared_memory_bytes=stmt_smem,
stream=stmt_stream,
),
"// clang-format on",
"/* clang-format on */",
)
def __call__(self, **kwargs: ExprLike) -> SfgCallTreeNode:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment