-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
And accelerate benchmarks. ### Conversion details Fix a bug in CSR `max_nnz_per_row` computation. + The same `grid_dim` was used for the reduction and for the `calculate_nnz_per_row` kernel + The `grid_dim` was limited to maximum `default_block_size^2` elements. + For bigger matrices, the extracted `max_nnz_per_row` could be wrong, due to omitted values. ### Benchmark details + Move `matrix_from` to the external loop. + Benchmark directly into `matrix_to`.
- Loading branch information
Showing
3 changed files
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters