Skip to content

CUDA: Use clang-format to format sources

Brad King requested to merge brad.king/cmake:clang-format-cuda into master

Our *.cu sources were added with manual formatting and do not conform to our code formatting rules. Teach clang-format.bash to format *.cu source files too.

Construct the conversion branch to work both for the 3.8 release branch and for master. This will help reduce conflicts in future maintenance of the branch.

Merge request reports