Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Nov 16, 2026: version 7.15.0
Nov 20, 2026: version 7.15.0

* SPEX 3.4.0: with a new exact sparse QR factorization
* GraphBLAS 10.5.3: bug fix
* GraphBLAS 10.5.4: bug fix
* SuiteSparse_Mongoose 3.3.7: remove tests that require downloads
from SuiteSparse Matrix Collection
* SuiteSparse_config 7.15.0: version update
Expand Down
10 changes: 10 additions & 0 deletions GraphBLAS/Doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
Nov 20, 2026, version 10.5.4

* (79) bug fix: JIT'ing the CPU kernel for GrB_select did not check
if the matrix type can be JIT'd.
See issue #480. Caught and fixed by Mikhail Svirukov.
* (78) bug fix: generic saxpy-based mxm kernel does not properly
flip the types of the A and B inputs when using an indexed binary op as
the multiplicative operator of the semiring.
See issue #479. Caught and fixed by Mikhail Svirukov.

Nov 16, 2026, version 10.5.3

* (77) bug fix: changing the integer bit-width of a matrix with pending
Expand Down
Binary file modified GraphBLAS/Doc/GraphBLAS_UserGuide.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions GraphBLAS/Doc/GraphBLAS_version.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
% version of SuiteSparse:GraphBLAS
\date{VERSION
10.5.3,
Nov 16, 2026}
10.5.4,
Nov 20, 2026}

2 changes: 1 addition & 1 deletion GraphBLAS/Doc/UserGuide/GrB_get_set_Matrix.tex
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ \subsubsection{Storing a matrix by row or by column}
GrB_set (GrB_GLOBAL, GrB_COLMAJOR, GrB_STORAGE_ORIENTATION_HINT) ; \end{verbatim} }

If this is done, and no other \verb'GrB_set' calls are made with \newline
\verb'GrB_STORAGE_ORIENATION_HINT', all matrices will be stored by column.
\verb'GrB_STORAGE_ORIENTATION_HINT', all matrices will be stored by column.
The default format is \verb'GrB_ROWMAJOR'.

All vectors (\verb'GrB_Vector') are held by column, and this cannot be changed.
Expand Down
5 changes: 5 additions & 0 deletions GraphBLAS/Doc/UserGuide/GrB_objects_sort.tex
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ \subsubsection{{\sf GxB\_Matrix\_sort:} sort the rows/columns of a matrix}
use \verb'GrB_LT_FP64' as the \verb'op', and to sort in descending order,
use \verb'GrB_GT_FP64'.

The format of the output matrix \verb'C' is modified to match the direction of
the sort. If sorted by rows, then on output \verb'C' will be held in row-major
order (\verb'GrB_ROWMAJOR'). If sorted by columns, then on output, \verb'C'
will be held in column-major order (\verb'GrB_COLMAJOR').

The \verb'op' must have a return value of \verb'GrB_BOOL', and the types of
its two inputs must be the same. The entries in \verb'A' are typecasted to
the inputs of the \verb'op', if necessary. Matrices with user-defined types
Expand Down
12 changes: 12 additions & 0 deletions GraphBLAS/Doc/UserGuide/GrB_release.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ \section{Release Notes}

\begin{itemize}

\item Nov 20, 2026, version 10.5.4

\begin{itemize}
\item (79) bug fix: JIT'ing the CPU kernel for \verb'GrB_select'
did not check if the matrix type can be JIT'd.
See issue \#480. Caught and fixed by Mikhail Svirukov.
\item (78) bug fix: generic saxpy-based mxm kernel does not properly
flip the types of the A and B inputs when using an indexed binary op as
the multiplicative operator of the semiring.
See issue \#479. Caught and fixed by Mikhail Svirukov.
\end{itemize}

\item Nov 16, 2026, version 10.5.3

\begin{itemize}
Expand Down
6 changes: 3 additions & 3 deletions GraphBLAS/Include/GraphBLAS.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SuiteSparse:GraphBLAS 10.5.3
// SuiteSparse:GraphBLAS 10.5.4
//------------------------------------------------------------------------------
// GraphBLAS.h: definitions for the GraphBLAS package
//------------------------------------------------------------------------------
Expand Down Expand Up @@ -286,10 +286,10 @@

// The version of this implementation, and the GraphBLAS API version:
#define GxB_IMPLEMENTATION_NAME "SuiteSparse:GraphBLAS"
#define GxB_IMPLEMENTATION_DATE "Nov 16, 2026"
#define GxB_IMPLEMENTATION_DATE "Nov 20, 2026"
#define GxB_IMPLEMENTATION_MAJOR 10
#define GxB_IMPLEMENTATION_MINOR 5
#define GxB_IMPLEMENTATION_SUB 3
#define GxB_IMPLEMENTATION_SUB 4
#define GxB_SPEC_DATE "Dec 22, 2023"
#define GxB_SPEC_MAJOR 2
#define GxB_SPEC_MINOR 1
Expand Down
2 changes: 1 addition & 1 deletion GraphBLAS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2026, All Rights Reserved.

SPDX-License-Identifier: Apache-2.0

VERSION 10.5.3, Nov 16, 2026
VERSION 10.5.4, Nov 20, 2026

SuiteSparse:GraphBLAS is a complete implementation of the GraphBLAS standard,
which defines a set of sparse matrix operations on an extended algebra of
Expand Down
34 changes: 27 additions & 7 deletions GraphBLAS/Source/jitifyer/GB_encodify_select.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ uint64_t GB_encodify_select // encode an select problem
{

//--------------------------------------------------------------------------
// check if the op is JIT'able
// check if the operator and copied matrix values are JIT'able
//--------------------------------------------------------------------------

if (op != NULL && op->hash == UINT64_MAX)
if ((op != NULL && op->hash == UINT64_MAX) ||
A->type->hash == UINT64_MAX)
{
// cannot JIT this op
// A positional operator may ignore x, but phase2 still copies A values.
memset (encoding, 0, sizeof (GB_jit_encoding)) ;
(*suffix) = NULL ;
return (UINT64_MAX) ;
Expand All @@ -48,10 +49,29 @@ uint64_t GB_encodify_select // encode an select problem
// determine the suffix and its length
//--------------------------------------------------------------------------

// if hash is zero, it denotes a builtin operator
uint64_t hash = op->hash ;
encoding->suffix_len = (hash == 0) ? 0 : op->name_len ;
(*suffix) = (hash == 0) ? NULL : op->name ;
uint64_t hash = 0 ;
if (op->hash != 0)
{
// user-defined operator, which must already include the xtype of
// its input, with no typecasting so its xtype must match the A type.
// The suffix is the name of the operator, without the need for
// any type name in the suffix.
hash = op->hash ;
encoding->suffix_len = op->name_len ;
(*suffix) = op->name ;
}
else
{
// built-in operator; hash the matrix type. Positional operators
// (notably NONZOMBIE) have no xtype. Include A's actual type so
// kernels copying distinct UDT layouts cannot be reused. A UDT suffix
// also enables definition checks when loading cached kernels.
// If the A->type->hash is zero, it denotes a built-in type,
// which is not included in the hash or the suffix.
hash = A->type->hash ;
encoding->suffix_len = (hash == 0) ? 0 : A->type->name_len ;
(*suffix) = (hash == 0) ? NULL : A->type->name ;
}

//--------------------------------------------------------------------------
// compute the hash of the entire problem
Expand Down
10 changes: 5 additions & 5 deletions GraphBLAS/Source/mxm/factory/GB_AxB_saxpy_generic_method.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ GrB_Info GB_AXB_SAXPY_GENERIC_METHOD

// scalar workspace: because of typecasting, the x/y types need not
// be the same as the size of the A and B types.
// GB_GENERIC_FLIPXY false: aik = (xtype) A(i,k) and bkj = (ytype) B(k,j)
// GB_GENERIC_FLIPXY true: aik = (ytype) A(i,k) and bkj = (xtype) B(k,j)
size_t aiksize = GB_GENERIC_FLIPXY ? ysize : xsize ;
size_t bkjsize = GB_GENERIC_FLIPXY ? xsize : ysize ;
// Both ordinary and indexed flipped operators receive B as x and A as y.
// Their workspace sizes and casts must follow the same operand order.
size_t aiksize = (GB_GENERIC_FLIPXY || GB_GENERIC_IDX_FLIPXY) ? ysize : xsize ;
size_t bkjsize = (GB_GENERIC_FLIPXY || GB_GENERIC_IDX_FLIPXY) ? xsize : ysize ;

GB_cast_function cast_A, cast_B ;
#if GB_GENERIC_FLIPXY
#if GB_GENERIC_FLIPXY || GB_GENERIC_IDX_FLIPXY
{
// A is typecasted to y, and B is typecasted to x
cast_A = A_is_pattern ? NULL :
Expand Down
Loading
Loading