Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
fix for Wsign-compare
Browse files Browse the repository at this point in the history
  • Loading branch information
Elias authored and alliepiper committed Apr 9, 2020
1 parent 8bdfee7 commit b2e64cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cub/device/dispatch/dispatch_spmv_orig.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -653,8 +653,8 @@ struct DispatchSpmv
int segment_fixup_tile_size = segment_fixup_config.block_threads * segment_fixup_config.items_per_thread;

// Number of tiles for kernels
unsigned int num_merge_tiles = (num_merge_items + merge_tile_size - 1) / merge_tile_size;
unsigned int num_segment_fixup_tiles = (num_merge_tiles + segment_fixup_tile_size - 1) / segment_fixup_tile_size;
int num_merge_tiles = (num_merge_items + merge_tile_size - 1) / merge_tile_size;
int num_segment_fixup_tiles = (num_merge_tiles + segment_fixup_tile_size - 1) / segment_fixup_tile_size;

// Get SM occupancy for kernels
int spmv_sm_occupancy;
Expand Down

0 comments on commit b2e64cf

Please sign in to comment.