@@ -104,6 +104,9 @@ typedef enum
104
104
GxB_GLOBAL_NTHREADS = 5 ,
105
105
GxB_GLOBAL_CHUNK = 7 ,
106
106
GxB_BURBLE = 99 ,
107
+ GxB_PRINTF = 101 ,
108
+ GxB_FLUSH = 102 ,
109
+ GxB_MEMORY_POOL = 103 ,
107
110
GxB_SPARSITY_STATUS = 33 ,
108
111
GxB_SPARSITY_CONTROL = 32 ,
109
112
GxB_GLOBAL_GPU_CONTROL = 21 ,
@@ -2844,32 +2847,35 @@ extern GrB_Info GxB_Matrix_assign_FC32(GrB_Matrix C, const GrB_Matrix Mask, cons
2844
2847
extern GrB_Info GxB_Matrix_assign_FC64 (GrB_Matrix C , const GrB_Matrix Mask , const GrB_BinaryOp accum , GxB_FC64_t x , const GrB_Index * I , GrB_Index ni , const GrB_Index * J , GrB_Index nj , const GrB_Descriptor desc );
2845
2848
extern GrB_Info GxB_Matrix_build_FC32 (GrB_Matrix C , const GrB_Index * I , const GrB_Index * J , const GxB_FC32_t * X , GrB_Index nvals , const GrB_BinaryOp dup );
2846
2849
extern GrB_Info GxB_Matrix_build_FC64 (GrB_Matrix C , const GrB_Index * I , const GrB_Index * J , const GxB_FC64_t * X , GrB_Index nvals , const GrB_BinaryOp dup );
2847
- extern GrB_Info GxB_Matrix_export_BitmapC (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , int8_t * * Ab , void * * Ax , GrB_Index * Ab_size , GrB_Index * Ax_size , GrB_Index * nvals , const GrB_Descriptor desc );
2848
- extern GrB_Info GxB_Matrix_export_BitmapR (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , int8_t * * Ab , void * * Ax , GrB_Index * Ab_size , GrB_Index * Ax_size , GrB_Index * nvals , const GrB_Descriptor desc );
2849
- extern GrB_Info GxB_Matrix_export_CSC (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , GrB_Index * * Ap , GrB_Index * * Ai , void * * Ax , GrB_Index * Ap_size , GrB_Index * Ai_size , GrB_Index * Ax_size , bool * jumbled , const GrB_Descriptor desc );
2850
- extern GrB_Info GxB_Matrix_export_CSR (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , GrB_Index * * Ap , GrB_Index * * Aj , void * * Ax , GrB_Index * Ap_size , GrB_Index * Aj_size , GrB_Index * Ax_size , bool * jumbled , const GrB_Descriptor desc );
2851
- extern GrB_Info GxB_Matrix_export_FullC (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , void * * Ax , GrB_Index * Ax_size , const GrB_Descriptor desc );
2852
- extern GrB_Info GxB_Matrix_export_FullR (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , void * * Ax , GrB_Index * Ax_size , const GrB_Descriptor desc );
2853
- extern GrB_Info GxB_Matrix_export_HyperCSC (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , GrB_Index * * Ap , GrB_Index * * Ah , GrB_Index * * Ai , void * * Ax , GrB_Index * Ap_size , GrB_Index * Ah_size , GrB_Index * Ai_size , GrB_Index * Ax_size , GrB_Index * nvec , bool * jumbled , const GrB_Descriptor desc );
2854
- extern GrB_Info GxB_Matrix_export_HyperCSR (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , GrB_Index * * Ap , GrB_Index * * Ah , GrB_Index * * Aj , void * * Ax , GrB_Index * Ap_size , GrB_Index * Ah_size , GrB_Index * Aj_size , GrB_Index * Ax_size , GrB_Index * nvec , bool * jumbled , const GrB_Descriptor desc );
2850
+ extern GrB_Info GxB_Matrix_concat (GrB_Matrix C , const GrB_Matrix * Tiles , const GrB_Index m , const GrB_Index n , const GrB_Descriptor desc );
2851
+ extern GrB_Info GxB_Matrix_diag (GrB_Matrix C , const GrB_Vector v , int64_t k , const GrB_Descriptor desc );
2852
+ extern GrB_Info GxB_Matrix_export_BitmapC (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , int8_t * * Ab , void * * Ax , GrB_Index * Ab_size , GrB_Index * Ax_size , bool * is_uniform , GrB_Index * nvals , const GrB_Descriptor desc );
2853
+ extern GrB_Info GxB_Matrix_export_BitmapR (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , int8_t * * Ab , void * * Ax , GrB_Index * Ab_size , GrB_Index * Ax_size , bool * is_uniform , GrB_Index * nvals , const GrB_Descriptor desc );
2854
+ extern GrB_Info GxB_Matrix_export_CSC (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , GrB_Index * * Ap , GrB_Index * * Ai , void * * Ax , GrB_Index * Ap_size , GrB_Index * Ai_size , GrB_Index * Ax_size , bool * is_uniform , bool * jumbled , const GrB_Descriptor desc );
2855
+ extern GrB_Info GxB_Matrix_export_CSR (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , GrB_Index * * Ap , GrB_Index * * Aj , void * * Ax , GrB_Index * Ap_size , GrB_Index * Aj_size , GrB_Index * Ax_size , bool * is_uniform , bool * jumbled , const GrB_Descriptor desc );
2856
+ extern GrB_Info GxB_Matrix_export_FullC (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , void * * Ax , GrB_Index * Ax_size , bool * is_uniform , const GrB_Descriptor desc );
2857
+ extern GrB_Info GxB_Matrix_export_FullR (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , void * * Ax , GrB_Index * Ax_size , bool * is_uniform , const GrB_Descriptor desc );
2858
+ extern GrB_Info GxB_Matrix_export_HyperCSC (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , GrB_Index * * Ap , GrB_Index * * Ah , GrB_Index * * Ai , void * * Ax , GrB_Index * Ap_size , GrB_Index * Ah_size , GrB_Index * Ai_size , GrB_Index * Ax_size , bool * is_uniform , GrB_Index * nvec , bool * jumbled , const GrB_Descriptor desc );
2859
+ extern GrB_Info GxB_Matrix_export_HyperCSR (GrB_Matrix * A , GrB_Type * type , GrB_Index * nrows , GrB_Index * ncols , GrB_Index * * Ap , GrB_Index * * Ah , GrB_Index * * Aj , void * * Ax , GrB_Index * Ap_size , GrB_Index * Ah_size , GrB_Index * Aj_size , GrB_Index * Ax_size , bool * is_uniform , GrB_Index * nvec , bool * jumbled , const GrB_Descriptor desc );
2855
2860
extern GrB_Info GxB_Matrix_extractElement_FC32 (GxB_FC32_t * x , const GrB_Matrix A , GrB_Index i , GrB_Index j );
2856
2861
extern GrB_Info GxB_Matrix_extractElement_FC64 (GxB_FC64_t * x , const GrB_Matrix A , GrB_Index i , GrB_Index j );
2857
2862
extern GrB_Info GxB_Matrix_extractTuples_FC32 (GrB_Index * I , GrB_Index * J , GxB_FC32_t * X , GrB_Index * nvals , const GrB_Matrix A );
2858
2863
extern GrB_Info GxB_Matrix_extractTuples_FC64 (GrB_Index * I , GrB_Index * J , GxB_FC64_t * X , GrB_Index * nvals , const GrB_Matrix A );
2859
2864
extern GrB_Info GxB_Matrix_fprint (GrB_Matrix A , const char * name , GxB_Print_Level pr , FILE * f );
2860
- extern GrB_Info GxB_Matrix_import_BitmapC (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , int8_t * * Ab , void * * Ax , GrB_Index Ab_size , GrB_Index Ax_size , GrB_Index nvals , const GrB_Descriptor desc );
2861
- extern GrB_Info GxB_Matrix_import_BitmapR (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , int8_t * * Ab , void * * Ax , GrB_Index Ab_size , GrB_Index Ax_size , GrB_Index nvals , const GrB_Descriptor desc );
2862
- extern GrB_Info GxB_Matrix_import_CSC (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , GrB_Index * * Ap , GrB_Index * * Ai , void * * Ax , GrB_Index Ap_size , GrB_Index Ai_size , GrB_Index Ax_size , bool jumbled , const GrB_Descriptor desc );
2863
- extern GrB_Info GxB_Matrix_import_CSR (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , GrB_Index * * Ap , GrB_Index * * Aj , void * * Ax , GrB_Index Ap_size , GrB_Index Aj_size , GrB_Index Ax_size , bool jumbled , const GrB_Descriptor desc );
2864
- extern GrB_Info GxB_Matrix_import_FullC (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , void * * Ax , GrB_Index Ax_size , const GrB_Descriptor desc );
2865
- extern GrB_Info GxB_Matrix_import_FullR (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , void * * Ax , GrB_Index Ax_size , const GrB_Descriptor desc );
2866
- extern GrB_Info GxB_Matrix_import_HyperCSC (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , GrB_Index * * Ap , GrB_Index * * Ah , GrB_Index * * Ai , void * * Ax , GrB_Index Ap_size , GrB_Index Ah_size , GrB_Index Ai_size , GrB_Index Ax_size , GrB_Index nvec , bool jumbled , const GrB_Descriptor desc );
2867
- extern GrB_Info GxB_Matrix_import_HyperCSR (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , GrB_Index * * Ap , GrB_Index * * Ah , GrB_Index * * Aj , void * * Ax , GrB_Index Ap_size , GrB_Index Ah_size , GrB_Index Aj_size , GrB_Index Ax_size , GrB_Index nvec , bool jumbled , const GrB_Descriptor desc );
2865
+ extern GrB_Info GxB_Matrix_import_BitmapC (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , int8_t * * Ab , void * * Ax , GrB_Index Ab_size , GrB_Index Ax_size , bool is_uniform , GrB_Index nvals , const GrB_Descriptor desc );
2866
+ extern GrB_Info GxB_Matrix_import_BitmapR (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , int8_t * * Ab , void * * Ax , GrB_Index Ab_size , GrB_Index Ax_size , bool is_uniform , GrB_Index nvals , const GrB_Descriptor desc );
2867
+ extern GrB_Info GxB_Matrix_import_CSC (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , GrB_Index * * Ap , GrB_Index * * Ai , void * * Ax , GrB_Index Ap_size , GrB_Index Ai_size , GrB_Index Ax_size , bool is_uniform , bool jumbled , const GrB_Descriptor desc );
2868
+ extern GrB_Info GxB_Matrix_import_CSR (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , GrB_Index * * Ap , GrB_Index * * Aj , void * * Ax , GrB_Index Ap_size , GrB_Index Aj_size , GrB_Index Ax_size , bool is_uniform , bool jumbled , const GrB_Descriptor desc );
2869
+ extern GrB_Info GxB_Matrix_import_FullC (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , void * * Ax , GrB_Index Ax_size , bool is_uniform , const GrB_Descriptor desc );
2870
+ extern GrB_Info GxB_Matrix_import_FullR (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , void * * Ax , GrB_Index Ax_size , bool is_uniform , const GrB_Descriptor desc );
2871
+ extern GrB_Info GxB_Matrix_import_HyperCSC (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , GrB_Index * * Ap , GrB_Index * * Ah , GrB_Index * * Ai , void * * Ax , GrB_Index Ap_size , GrB_Index Ah_size , GrB_Index Ai_size , GrB_Index Ax_size , bool is_uniform , GrB_Index nvec , bool jumbled , const GrB_Descriptor desc );
2872
+ extern GrB_Info GxB_Matrix_import_HyperCSR (GrB_Matrix * A , GrB_Type type , GrB_Index nrows , GrB_Index ncols , GrB_Index * * Ap , GrB_Index * * Ah , GrB_Index * * Aj , void * * Ax , GrB_Index Ap_size , GrB_Index Ah_size , GrB_Index Aj_size , GrB_Index Ax_size , bool is_uniform , GrB_Index nvec , bool jumbled , const GrB_Descriptor desc );
2868
2873
extern GrB_Info GxB_Matrix_reduce_FC32 (GxB_FC32_t * c , const GrB_BinaryOp accum , const GrB_Monoid monoid , const GrB_Matrix A , const GrB_Descriptor desc );
2869
2874
extern GrB_Info GxB_Matrix_reduce_FC64 (GxB_FC64_t * c , const GrB_BinaryOp accum , const GrB_Monoid monoid , const GrB_Matrix A , const GrB_Descriptor desc );
2870
2875
extern GrB_Info GxB_Matrix_select (GrB_Matrix C , const GrB_Matrix Mask , const GrB_BinaryOp accum , const GxB_SelectOp op , const GrB_Matrix A , const GxB_Scalar Thunk , const GrB_Descriptor desc );
2871
2876
extern GrB_Info GxB_Matrix_setElement_FC32 (GrB_Matrix C , GxB_FC32_t x , GrB_Index i , GrB_Index j );
2872
2877
extern GrB_Info GxB_Matrix_setElement_FC64 (GrB_Matrix C , GxB_FC64_t x , GrB_Index i , GrB_Index j );
2878
+ extern GrB_Info GxB_Matrix_split (GrB_Matrix * Tiles , const GrB_Index m , const GrB_Index n , const GrB_Index * Tile_nrows , const GrB_Index * Tile_ncols , const GrB_Matrix A , const GrB_Descriptor desc );
2873
2879
extern GrB_Info GxB_Matrix_subassign (GrB_Matrix C , const GrB_Matrix Mask , const GrB_BinaryOp accum , const GrB_Matrix A , const GrB_Index * I , GrB_Index ni , const GrB_Index * J , GrB_Index nj , const GrB_Descriptor desc );
2874
2880
extern GrB_Info GxB_Matrix_subassign_BOOL (GrB_Matrix C , const GrB_Matrix Mask , const GrB_BinaryOp accum , bool x , const GrB_Index * I , GrB_Index ni , const GrB_Index * J , GrB_Index nj , const GrB_Descriptor desc );
2875
2881
extern GrB_Info GxB_Matrix_subassign_FC32 (GrB_Matrix C , const GrB_Matrix Mask , const GrB_BinaryOp accum , GxB_FC32_t x , const GrB_Index * I , GrB_Index ni , const GrB_Index * J , GrB_Index nj , const GrB_Descriptor desc );
@@ -2887,6 +2893,7 @@ extern GrB_Info GxB_Matrix_subassign_UINT32(GrB_Matrix C, const GrB_Matrix Mask,
2887
2893
extern GrB_Info GxB_Matrix_subassign_UINT64 (GrB_Matrix C , const GrB_Matrix Mask , const GrB_BinaryOp accum , uint64_t x , const GrB_Index * I , GrB_Index ni , const GrB_Index * J , GrB_Index nj , const GrB_Descriptor desc );
2888
2894
extern GrB_Info GxB_Matrix_type (GrB_Type * type , const GrB_Matrix A );
2889
2895
extern GrB_Info GxB_Row_subassign (GrB_Matrix C , const GrB_Vector mask , const GrB_BinaryOp accum , const GrB_Vector u , GrB_Index i , const GrB_Index * J , GrB_Index nj , const GrB_Descriptor desc );
2896
+ extern GrB_Info GxB_Vector_diag (GrB_Vector v , const GrB_Matrix A , int64_t k , const GrB_Descriptor desc );
2890
2897
2891
2898
/* monoid */
2892
2899
extern GrB_Info GxB_Monoid_fprint (GrB_Monoid monoid , const char * name , GxB_Print_Level pr , FILE * f );
@@ -2985,17 +2992,17 @@ extern GrB_Info GxB_Vector_assign_FC32(GrB_Vector w, const GrB_Vector mask, cons
2985
2992
extern GrB_Info GxB_Vector_assign_FC64 (GrB_Vector w , const GrB_Vector mask , const GrB_BinaryOp accum , GxB_FC64_t x , const GrB_Index * I , GrB_Index ni , const GrB_Descriptor desc );
2986
2993
extern GrB_Info GxB_Vector_build_FC32 (GrB_Vector w , const GrB_Index * I , const GxB_FC32_t * X , GrB_Index nvals , const GrB_BinaryOp dup );
2987
2994
extern GrB_Info GxB_Vector_build_FC64 (GrB_Vector w , const GrB_Index * I , const GxB_FC64_t * X , GrB_Index nvals , const GrB_BinaryOp dup );
2988
- extern GrB_Info GxB_Vector_export_Bitmap (GrB_Vector * v , GrB_Type * type , GrB_Index * n , int8_t * * vb , void * * vx , GrB_Index * vb_size , GrB_Index * vx_size , GrB_Index * nvals , const GrB_Descriptor desc );
2989
- extern GrB_Info GxB_Vector_export_CSC (GrB_Vector * v , GrB_Type * type , GrB_Index * n , GrB_Index * * vi , void * * vx , GrB_Index * vi_size , GrB_Index * vx_size , GrB_Index * nvals , bool * jumbled , const GrB_Descriptor desc );
2990
- extern GrB_Info GxB_Vector_export_Full (GrB_Vector * v , GrB_Type * type , GrB_Index * n , void * * vx , GrB_Index * vx_size , const GrB_Descriptor desc );
2995
+ extern GrB_Info GxB_Vector_export_Bitmap (GrB_Vector * v , GrB_Type * type , GrB_Index * n , int8_t * * vb , void * * vx , GrB_Index * vb_size , GrB_Index * vx_size , bool * is_uniform , GrB_Index * nvals , const GrB_Descriptor desc );
2996
+ extern GrB_Info GxB_Vector_export_CSC (GrB_Vector * v , GrB_Type * type , GrB_Index * n , GrB_Index * * vi , void * * vx , GrB_Index * vi_size , GrB_Index * vx_size , bool * is_uniform , GrB_Index * nvals , bool * jumbled , const GrB_Descriptor desc );
2997
+ extern GrB_Info GxB_Vector_export_Full (GrB_Vector * v , GrB_Type * type , GrB_Index * n , void * * vx , GrB_Index * vx_size , bool * is_uniform , const GrB_Descriptor desc );
2991
2998
extern GrB_Info GxB_Vector_extractElement_FC32 (GxB_FC32_t * x , const GrB_Vector v , GrB_Index i );
2992
2999
extern GrB_Info GxB_Vector_extractElement_FC64 (GxB_FC64_t * x , const GrB_Vector v , GrB_Index i );
2993
3000
extern GrB_Info GxB_Vector_extractTuples_FC32 (GrB_Index * I , GxB_FC32_t * X , GrB_Index * nvals , const GrB_Vector v );
2994
3001
extern GrB_Info GxB_Vector_extractTuples_FC64 (GrB_Index * I , GxB_FC64_t * X , GrB_Index * nvals , const GrB_Vector v );
2995
3002
extern GrB_Info GxB_Vector_fprint (GrB_Vector v , const char * name , GxB_Print_Level pr , FILE * f );
2996
- extern GrB_Info GxB_Vector_import_Bitmap (GrB_Vector * v , GrB_Type type , GrB_Index n , int8_t * * vb , void * * vx , GrB_Index vb_size , GrB_Index vx_size , GrB_Index nvals , const GrB_Descriptor desc );
2997
- extern GrB_Info GxB_Vector_import_CSC (GrB_Vector * v , GrB_Type type , GrB_Index n , GrB_Index * * vi , void * * vx , GrB_Index vi_size , GrB_Index vx_size , GrB_Index nvals , bool jumbled , const GrB_Descriptor desc );
2998
- extern GrB_Info GxB_Vector_import_Full (GrB_Vector * v , GrB_Type type , GrB_Index n , void * * vx , GrB_Index vx_size , const GrB_Descriptor desc );
3003
+ extern GrB_Info GxB_Vector_import_Bitmap (GrB_Vector * v , GrB_Type type , GrB_Index n , int8_t * * vb , void * * vx , GrB_Index vb_size , GrB_Index vx_size , bool is_uniform , GrB_Index nvals , const GrB_Descriptor desc );
3004
+ extern GrB_Info GxB_Vector_import_CSC (GrB_Vector * v , GrB_Type type , GrB_Index n , GrB_Index * * vi , void * * vx , GrB_Index vi_size , GrB_Index vx_size , bool is_uniform , GrB_Index nvals , bool jumbled , const GrB_Descriptor desc );
3005
+ extern GrB_Info GxB_Vector_import_Full (GrB_Vector * v , GrB_Type type , GrB_Index n , void * * vx , GrB_Index vx_size , bool is_uniform , const GrB_Descriptor desc );
2999
3006
extern GrB_Info GxB_Vector_reduce_FC32 (GxB_FC32_t * c , const GrB_BinaryOp accum , const GrB_Monoid monoid , const GrB_Vector u , const GrB_Descriptor desc );
3000
3007
extern GrB_Info GxB_Vector_reduce_FC64 (GxB_FC64_t * c , const GrB_BinaryOp accum , const GrB_Monoid monoid , const GrB_Vector u , const GrB_Descriptor desc );
3001
3008
extern GrB_Info GxB_Vector_select (GrB_Vector w , const GrB_Vector mask , const GrB_BinaryOp accum , const GxB_SelectOp op , const GrB_Vector u , const GxB_Scalar Thunk , const GrB_Descriptor desc );
0 commit comments