Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bsr: add guards to prevent unused variable -Werror in Cuda builds #1193

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/sparse/impl/KokkosSparse_spmv_bsrmatrix_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,11 @@ struct BsrMatrixSpMVTensorCoreFunctor {
using nvcuda::wmma::mma_sync;
using nvcuda::wmma::store_matrix_sync;

#ifdef __CUDA_ARCH__
FragA fa;
FragX fx;
FragY fy;
#endif

// override with template params if given
const int ld_x = LEAGUE_DIM_X > 0 ? LEAGUE_DIM_X : params.leagueDim_x;
Expand Down