Skip to content

Commit 43eb98c

Browse files
GraphBLAS: fix JIT performance bug (no openmp) and "make static" in Makefile
1 parent 0aa375b commit 43eb98c

15 files changed

+68
-17
lines changed

ChangeLog

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
Mar 2, 2024: version 7.6.1
2+
3+
* GraphBLAS 9.0.3: performance bug fix (JIT kernels were not compiled with
4+
OpenMP, since v8.3.1), and fix to Makefile ("make static")
5+
* SuiteSparse_config 7.6.1: version number, added link to math.js in README
6+
* Package versions in this release:
7+
SuiteSparse_config 7.6.1
8+
AMD 3.3.1
9+
BTF 2.3.1
10+
CAMD 3.3.1
11+
CCOLAMD 3.3.2
12+
CHOLMOD 5.2.0
13+
COLAMD 3.3.2
14+
CSparse 4.3.1
15+
CXSparse 4.3.1
16+
Example 1.6.2
17+
GraphBLAS 9.0.3
18+
KLU 2.3.2
19+
LDL 3.3.1
20+
LAGraph 1.1.2
21+
SuiteSparse_Mongoose 3.3.2
22+
ParU 0.1.2
23+
RBio 4.3.1
24+
SPEX 2.3.2
25+
SPQR 4.3.2
26+
UMFPACK 6.3.2
27+
128
Jan 20, 2024: version 7.6.0
229

330
* CHOLMOD 5.2.0: bug fix (restore ABI compatibility with 5.0.x, i.e., 5.2.0

GraphBLAS/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ if ( GRAPHBLAS_HAS_OPENMP )
459459
target_link_libraries ( GraphBLAS_static PRIVATE OpenMP::OpenMP_C )
460460
endif ( )
461461
message ( STATUS "CMAKE OpenMP C flags: ${OpenMP_C_FLAGS}" )
462+
set ( GB_OPENMP_C_FLAGS "${OpenMP_C_FLAGS}" )
462463
else ( )
463464
message ( WARNING
464465
"WARNING: OpenMP was not found (or was disabled with "
@@ -479,6 +480,7 @@ else ( )
479480
"The C compiler does not support thread-local-storage; "
480481
"GxB_Context_engage will return GrB_NOT_IMPLEMENTED." )
481482
endif ( )
483+
set ( GB_OPENMP_C_FLAGS "" )
482484
endif ( )
483485

484486
if ( SUITESPARSE_HAS_CUDA AND GRAPHBLAS_USE_CUDA )

GraphBLAS/Config/GB_config.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// GB_C_FLAGS: the C compiler flags used to compile GraphBLAS. Used
2222
// for compiling and linking:
2323
#ifndef GB_C_FLAGS
24-
#define GB_C_FLAGS "@GB_C_FLAGS@"
24+
#define GB_C_FLAGS "@GB_C_FLAGS@ @GB_OPENMP_C_FLAGS@"
2525
#endif
2626

2727
// GB_C_LINK_FLAGS: the flags passed to the C compiler for the link phase:

GraphBLAS/Doc/ChangeLog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
Mar 1, 2024: version 9.0.3
2+
3+
* (52) performance bug fix: JIT kernels since v8.3.1 were not compiled with
4+
OpenMP.
5+
6+
Feb 26, 2024: version 9.0.2
7+
8+
* (51) bug fix: GraphBLAS/Makefile "make static" was incorrect.
9+
110
Jan 20, 2024: version 9.0.1
211

312
* minor updates to build system

GraphBLAS/Doc/GraphBLAS_UserGuide.pdf

649 Bytes
Binary file not shown.

GraphBLAS/Doc/GraphBLAS_UserGuide.tex

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14768,6 +14768,19 @@ \section{Release Notes}
1476814768

1476914769
\begin{itemize}
1477014770

14771+
\item Mar 1, 2024: version 9.0.3
14772+
14773+
\begin{itemize}
14774+
\item (52) performance bug fix: JIT kernels since v8.3.1 were not compiled
14775+
with OpenMP.
14776+
\end{itemize}
14777+
14778+
\item Feb 26, 2024: version 9.0.2
14779+
14780+
\begin{itemize}
14781+
\item GraphBLAS/Makefile \verb"make static" was incorrect.
14782+
\end{itemize}
14783+
1477114784
\item Jan 20, 2024: version 9.0.1
1477214785

1477314786
\begin{itemize}

GraphBLAS/Doc/GraphBLAS_version.tex

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-
9.0.1,
4-
Jan 20, 2024}
3+
9.0.3,
4+
Mar 1, 2024}
55

GraphBLAS/Include/GraphBLAS.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SuiteSparse:GraphBLAS 9.0.1
1+
// SuiteSparse:GraphBLAS 9.0.3
22
//------------------------------------------------------------------------------
33
// GraphBLAS.h: definitions for the GraphBLAS package
44
//------------------------------------------------------------------------------
@@ -226,10 +226,10 @@
226226

227227
// The version of this implementation, and the GraphBLAS API version:
228228
#define GxB_IMPLEMENTATION_NAME "SuiteSparse:GraphBLAS"
229-
#define GxB_IMPLEMENTATION_DATE "Jan 20, 2024"
229+
#define GxB_IMPLEMENTATION_DATE "Mar 1, 2024"
230230
#define GxB_IMPLEMENTATION_MAJOR 9
231231
#define GxB_IMPLEMENTATION_MINOR 0
232-
#define GxB_IMPLEMENTATION_SUB 1
232+
#define GxB_IMPLEMENTATION_SUB 3
233233
#define GxB_SPEC_DATE "Dec 22, 2023"
234234
#define GxB_SPEC_MAJOR 2
235235
#define GxB_SPEC_MINOR 1

GraphBLAS/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ setup:
8080

8181
# build the static library
8282
static:
83-
( cd build && cmake $(CMAKE_OPTIONS) -DNSTATIC=0 .. && cmake --build . --config Release -j$(JOBS) )
83+
( cd build && cmake $(CMAKE_OPTIONS) -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF .. && cmake --build . --config Release -j$(JOBS) )
8484

8585
# installs GraphBLAS to the install location defined by cmake, usually
8686
# /usr/local/lib and /usr/local/include

GraphBLAS/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2024, All Rights Reserved.
44

55
SPDX-License-Identifier: Apache-2.0
66

7-
VERSION 9.0.1, Jan 20, 2024
7+
VERSION 9.0.3, Mar 1, 2024
88

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

0 commit comments

Comments
 (0)