We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d1b723 + f1fbffb commit 4272243Copy full SHA for 4272243
.clang-format
@@ -22,6 +22,13 @@ AllowShortIfStatementsOnASingleLine: Never
22
AllowShortLambdasOnASingleLine: Inline
23
AllowShortLoopsOnASingleLine: false
24
AlwaysBreakBeforeMultilineStrings: true
25
+# Treat CUDA keywords/attributes as "attribute macros" and avoid breaking lines inside them
26
+AttributeMacros:
27
+ - __host__
28
+ - __device__
29
+ - __global__
30
+ - __forceinline__
31
+ - __launch_bounds__
32
BinPackArguments: true
33
BinPackParameters: false # OnePerLine
34
BitFieldColonSpacing: Both
0 commit comments