Skip to content

Commit

Permalink
Fix signed vs. unsigned
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-kelley committed Oct 14, 2020
1 parent 7dedcc7 commit 664e5ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparse/impl/KokkosSparse_spgemm_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ class KokkosSPGEMM{
num_chunks = (free_byte / 2) / chunk_bytes;
}
//then take the largest power of 2 smaller than that
nnz_lno_t po2_num_chunks = 1;
size_t po2_num_chunks = 1;
while (po2_num_chunks * 2 < num_chunks) {
po2_num_chunks *= 2;
}
Expand Down

0 comments on commit 664e5ea

Please sign in to comment.