Skip to content

Commit

Permalink
Suppress warnings from unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
pghysels committed Apr 28, 2024
1 parent a977e16 commit f3074da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/sparse/fronts/FrontGPUSPD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ namespace strumpack {
auto level_flops = LU_flops(F11_) +
gemm_flops(Trans::N, Trans::N, scalar_t(-1.), F21_, F12_, scalar_t(1.)) +
trsm_flops(Side::L, scalar_t(1.), F11_, F21_);
(void)level_flops;
STRUMPACK_FULL_RANK_FLOPS(level_flops);
// if (opts.verbose()) {
// auto level_time = tl.elapsed();
Expand Down
1 change: 1 addition & 0 deletions src/sparse/fronts/FrontMAGMA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ namespace strumpack {
gemm_flops(Trans::N, Trans::N, scalar_t(-1.), F21_, F12_, scalar_t(1.)) +
trsm_flops(Side::L, scalar_t(1.), F11_, F12_) +
trsm_flops(Side::R, scalar_t(1.), F11_, F21_);
(void)level_flops;
STRUMPACK_FULL_RANK_FLOPS(level_flops);
// if (opts.verbose()) {
// auto level_time = tl.elapsed();
Expand Down
1 change: 1 addition & 0 deletions src/sparse/fronts/FrontalMatrixGPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ namespace strumpack {
gemm_flops(Trans::N, Trans::N, scalar_t(-1.), F21_, F12_, scalar_t(1.)) +
trsm_flops(Side::L, scalar_t(1.), F11_, F12_) +
trsm_flops(Side::R, scalar_t(1.), F11_, F21_);
(void)level_flops;
STRUMPACK_FULL_RANK_FLOPS(level_flops);
// if (opts.verbose()) {
// auto level_time = tl.elapsed();
Expand Down

0 comments on commit f3074da

Please sign in to comment.