Skip to content
Snippets Groups Projects
Commit 1797ecab authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fix clang-format off directive for older CMake versions

parent b1c47558
1 merge request!27Fix clang-format off directive for older LLVM versions
Pipeline #77665 passed with stages
in 6 minutes and 46 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