Skip to content

Commit

Permalink
[cpp] Apply clang-tidy auto fixes to CUDA code
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashienzsch committed Sep 17, 2024
1 parent a8afa87 commit b7b4263
Show file tree
Hide file tree
Showing 4 changed files with 293 additions and 262 deletions.
3 changes: 3 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ Checks: >
clang-analyzer-*,
clang-diagnostics-*,
concurrency-*,
-concurrency-mt-unsafe,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-magic-numbers,
Expand All @@ -38,6 +40,7 @@ Checks: >
-hicpp-signed-bitwise,
misc-*,
-misc-confusable-identifiers,
-misc-include-cleaner,
-misc-use-anonymous-namespace,
Expand Down
2 changes: 1 addition & 1 deletion src/cpp/main_3d/engine_cpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ auto run(Simulation3D& sd) -> double {
int8_t* Q_bna = sd.Q_bna;
double* in_sigs = sd.in_sigs;
double* u_out = sd.u_out;
int8_t fcc_flag = sd.fcc_flag;
int8_t const fcc_flag = sd.fcc_flag;
Real* ssaf_bnl = sd.ssaf_bnl;
Real* mat_beta = sd.mat_beta;
MatQuad<Real>* mat_quads = sd.mat_quads;
Expand Down
Loading

0 comments on commit b7b4263

Please sign in to comment.