1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
//------------------------------------------------------------------------------
// GB_init.h: definitions for GB_init
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2025, All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
//------------------------------------------------------------------------------
#ifndef GB_INIT_H
#define GB_INIT_H
GrB_Info GB_init // start up GraphBLAS
(
int mode, // blocking or non-blocking mode
// pointers to memory management functions.
void * (* malloc_function ) (size_t), // required
void * (* calloc_function ) (size_t, size_t), // optional, can be NULL
void * (* realloc_function ) (void *, size_t), // optional, can be NULL
void (* free_function ) (void *), // required
GB_Werk Werk // from GrB_init or GxB_init
) ;
#endif
|