Skip to content

Commit 9bf065b

Browse files
AviAvniswilly22
andauthored
GraphBLAS V5.1.10 (#2010)
Co-authored-by: swilly22 <[email protected]>
1 parent ef9f9a4 commit 9bf065b

File tree

13 files changed

+262
-9
lines changed

13 files changed

+262
-9
lines changed

deps/GraphBLAS/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ endif ( )
2323
set ( CMAKE_MACOSX_RPATH TRUE )
2424

2525
# version of SuiteSparse:GraphBLAS
26-
set ( GraphBLAS_DATE "Oct 26, 2021")
26+
set ( GraphBLAS_DATE "Oct 27, 2021")
2727
set ( GraphBLAS_VERSION_MAJOR 5 )
2828
set ( GraphBLAS_VERSION_MINOR 1 )
29-
set ( GraphBLAS_VERSION_SUB 9 )
29+
set ( GraphBLAS_VERSION_SUB 10 )
3030

3131
message ( STATUS "Building SuiteSparse:GraphBLAS version: v" ${GraphBLAS_VERSION_MAJOR}.${GraphBLAS_VERSION_MINOR}.${GraphBLAS_VERSION_SUB} " date: " ${GraphBLAS_DATE} )
3232

deps/GraphBLAS/Doc/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Version 5.1.10, Oct 27, 2021
2+
3+
* (35) bug fix: GB_selector; A->plen and C->plen not updated correctly.
4+
Caught by Jeffry Lovitz, Redis.
5+
16
Version 5.1.9, Oct 26, 2021
27

38
* (33) bug fix: in-place test incorrect for C+=A'*B using dot4
700 Bytes
Binary file not shown.

deps/GraphBLAS/Doc/GraphBLAS_UserGuide.tex

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,20 @@ \subsection{Release Notes}
148148

149149
\begin{itemize}
150150

151+
\item Version 5.1.10 (Oct 27, 2021)
152+
153+
\begin{packed_itemize}
154+
\item (35) bug fix: \verb'GB_selector'; \verb'A->plen' and \verb'C->plen'
155+
not updated correctly. Caught by Jeffry Lovitz, Redis.
156+
\end{packed_itemize}
157+
158+
\item Version 5.1.9 (Oct 26, 2021)
159+
160+
\begin{packed_itemize}
161+
\item (33) bug fix: in-place test incorrect for \verb"C+=A'*B" using dot4
162+
\item (32) bug fix: disable free pool if OpenMP not available
163+
\end{packed_itemize}
164+
151165
\item Version 5.1.8 (Oct 5, 2021)
152166

153167
\begin{packed_itemize}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
% version of SuiteSparse:GraphBLAS
22
\date{VERSION
3-
5.1.9,
4-
Oct 26, 2021}
3+
5.1.10,
4+
Oct 27, 2021}
55

deps/GraphBLAS/GraphBLAS/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ endif ( )
2929
set ( CMAKE_MACOSX_RPATH TRUE )
3030

3131
# version of SuiteSparse:GraphBLAS
32-
set ( GraphBLAS_DATE "Oct 26, 2021")
32+
set ( GraphBLAS_DATE "Oct 27, 2021")
3333
set ( GraphBLAS_VERSION_MAJOR 5 )
3434
set ( GraphBLAS_VERSION_MINOR 1 )
35-
set ( GraphBLAS_VERSION_SUB 9 )
35+
set ( GraphBLAS_VERSION_SUB 10 )
3636

3737
# GraphBLAS C API Specification version, at graphblas.org
3838
set ( GraphBLAS_API_DATE "Sept 25, 2019" )

deps/GraphBLAS/Include/GraphBLAS.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,10 @@
204204

205205
// The version of this implementation, and the GraphBLAS API version:
206206
#define GxB_IMPLEMENTATION_NAME "SuiteSparse:GraphBLAS"
207-
#define GxB_IMPLEMENTATION_DATE "Oct 26, 2021"
207+
#define GxB_IMPLEMENTATION_DATE "Oct 27, 2021"
208208
#define GxB_IMPLEMENTATION_MAJOR 5
209209
#define GxB_IMPLEMENTATION_MINOR 1
210-
#define GxB_IMPLEMENTATION_SUB 9
210+
#define GxB_IMPLEMENTATION_SUB 10
211211
#define GxB_SPEC_DATE "Sept 25, 2019"
212212
#define GxB_SPEC_MAJOR 1
213213
#define GxB_SPEC_MINOR 3

deps/GraphBLAS/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ For the GraphBLAS/GraphBLAS Octave/MATLAB interface *only*:
88
SPDX-License-Identifier: GPL-3.0-or-later
99
(see below for a discussion of the licensing of this package).
1010

11-
VERSION 5.1.9, Oct 26, 2021
11+
VERSION 5.1.10, Oct 27, 2021
1212

1313
SuiteSparse:GraphBLAS is a complete implementation of the GraphBLAS standard,
1414
which defines a set of sparse matrix operations on an extended algebra of

deps/GraphBLAS/Source/GB_matvec_check.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,18 @@ GrB_Info GB_matvec_check // check a GraphBLAS matrix or vector
334334
}
335335
#endif
336336

337+
if (A->p != NULL && (A->p_size < (A->plen + 1) * sizeof (int64_t)))
338+
{
339+
GBPR0 (" A->p is too small!\n") ;
340+
return (GrB_INVALID_OBJECT) ;
341+
}
342+
343+
if (A->h != NULL && (A->h_size < (A->plen) * sizeof (int64_t)))
344+
{
345+
GBPR0 (" A->h is too small!\n") ;
346+
return (GrB_INVALID_OBJECT) ;
347+
}
348+
337349
//--------------------------------------------------------------------------
338350
// check p
339351
//--------------------------------------------------------------------------

deps/GraphBLAS/Source/GB_selector.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@ GrB_Info GB_selector
442442
// free the old A->p and transplant in Cp as the new A->p
443443
GB_FREE (&Ap, Ap_size) ;
444444
A->p = Cp ; Cp = NULL ; A->p_size = Cp_size ;
445+
A->plen = anvec ;
445446
}
446447

447448
ASSERT (Cp == NULL) ;
@@ -508,6 +509,7 @@ GrB_Info GB_selector
508509
C->h = Ch ; Ch = NULL ; C->h_size = Ch_size ;
509510
C->i = Ci ; Ci = NULL ; C->i_size = Ci_size ;
510511
C->x = Cx ; Cx = NULL ; C->x_size = Cx_size ;
512+
C->plen = anvec ;
511513
C->magic = GB_MAGIC ;
512514
C->nvec_nonempty = C_nvec_nonempty ;
513515
C->jumbled = A_jumbled ; // C is jumbled if A is jumbled

0 commit comments

Comments
 (0)