diff options
Diffstat (limited to 'sci-libs/CombBLAS/files/CombBLAS-1.16.0_p20220331-rename-THRESHOLD.patch')
-rw-r--r-- | sci-libs/CombBLAS/files/CombBLAS-1.16.0_p20220331-rename-THRESHOLD.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sci-libs/CombBLAS/files/CombBLAS-1.16.0_p20220331-rename-THRESHOLD.patch b/sci-libs/CombBLAS/files/CombBLAS-1.16.0_p20220331-rename-THRESHOLD.patch deleted file mode 100644 index cff6d5d51..000000000 --- a/sci-libs/CombBLAS/files/CombBLAS-1.16.0_p20220331-rename-THRESHOLD.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/include/CombBLAS/dcsc.cpp -+++ b/include/CombBLAS/dcsc.cpp -@@ -1223,7 +1223,7 @@ - template<class VT> - void Dcsc<IT,NT>::FillColInds(const VT * colnums, IT nind, std::vector< std::pair<IT,IT> > & colinds, IT * aux, IT csize) const - { -- if ( aux == NULL || (nzc / nind) < THRESHOLD) // use scanning indexing -+ if ( aux == NULL || (nzc / nind) < COMBBLAS_THRESHOLD) // use scanning indexing - { - IT mink = std::min(nzc, nind); - std::pair<IT,IT> * isect = new std::pair<IT,IT>[mink]; ---- a/include/CombBLAS/SpDefs.h -+++ b/include/CombBLAS/SpDefs.h -@@ -122,8 +122,8 @@ - #define ALIGN 8 - #endif - --#ifndef THRESHOLD --#define THRESHOLD 4 // if range1.size() / range2.size() < threshold, use scanning based indexing -+#ifndef COMBBLAS_THRESHOLD -+#define COMBBLAS_THRESHOLD 4 // if range1.size() / range2.size() < threshold, use scanning based indexing - #endif - - #ifndef MEMORYINBYTES |