summaryrefslogtreecommitdiff
path: root/sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-enable-gfx1031.patch
blob: fd44bb938406ee8d8ce43785c299c1c25fa65503 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 <unsigned int WFSIZE>
 __device__ __forceinline__ void rocsparse_wfreduce_max(int* maximum)