Index: rocSPARSE-rocm-5.0.2/library/src/include/common.h =================================================================== --- rocSPARSE-rocm-5.0.2.orig/library/src/include/common.h +++ rocSPARSE-rocm-5.0.2/library/src/include/common.h @@ -167,7 +167,7 @@ __device__ __forceinline__ void rocspars if(BLOCKSIZE > 1) { if(i < 1 && i + 1 < BLOCKSIZE) { data[i] = min(data[i], data[i + 1]); } __syncthreads(); } } -#ifndef __gfx1030__ +#if !defined(__gfx1030__) && !defined(__gfx1031__) // DPP-based wavefront reduction maximum template __device__ __forceinline__ void rocsparse_wfreduce_max(int* maximum)