Skip to content

Commit

Permalink
fix issue NVIDIA#161 (warning in cub/device/dispatch/dispatch_spmv_or…
Browse files Browse the repository at this point in the history
…ig.cuh)
  • Loading branch information
seunghwak authored and alliepiper committed Jul 30, 2021
1 parent e59cff3 commit 4aaed71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cub/device/dispatch/dispatch_spmv_orig.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ struct DispatchSpmv

// Get max x-dimension of grid
int max_dim_x;
if (CubDebug(error = cudaDeviceGetAttribute(&max_dim_x, cudaDevAttrMaxGridDimX, device_ordinal))) break;;
if (CubDebug(error = cudaDeviceGetAttribute(&max_dim_x, cudaDevAttrMaxGridDimX, device_ordinal))) break;

// Total number of spmv work items
int num_merge_items = spmv_params.num_rows + spmv_params.num_nonzeros;
Expand Down

0 comments on commit 4aaed71

Please sign in to comment.