From 4aaed71de53ed68f5eb17b04b2ae1088c9982d69 Mon Sep 17 00:00:00 2001 From: Seunghwa Kang Date: Wed, 8 May 2019 20:13:12 -0700 Subject: [PATCH] fix issue #161 (warning in cub/device/dispatch/dispatch_spmv_orig.cuh) --- cub/device/dispatch/dispatch_spmv_orig.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cub/device/dispatch/dispatch_spmv_orig.cuh b/cub/device/dispatch/dispatch_spmv_orig.cuh index fc920fd047..a9e7ca5973 100644 --- a/cub/device/dispatch/dispatch_spmv_orig.cuh +++ b/cub/device/dispatch/dispatch_spmv_orig.cuh @@ -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;