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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
|
//------------------------------------------------------------------------------
// GraphBLAS/Config/GB_prejit.c: return list of PreJIT kernels
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2025, All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
//------------------------------------------------------------------------------
// This file is configured by cmake from Config/GB_prejit.c.in, which has
// indexed the following 0 kernels in GraphBLAS/PreJIT:
#include "GB.h"
#include "jitifyer/GB_jitifyer.h"
#include "jit_kernels/include/GB_jit_kernel_proto.h"
#include "include/GB_pedantic_disable.h"
//------------------------------------------------------------------------------
// prototypes for all PreJIT kernels
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// prototypes for all PreJIT query kernels
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// GB_prejit_kernels: a list of function pointers to PreJIT kernels
//------------------------------------------------------------------------------
#if ( 0 > 0 )
static void *GB_prejit_kernels [0] =
{
} ;
#endif
//------------------------------------------------------------------------------
// GB_prejit_queries: a list of function pointers to PreJIT query kernels
//------------------------------------------------------------------------------
#if ( 0 > 0 )
static void *GB_prejit_queries [0] =
{
} ;
#endif
//------------------------------------------------------------------------------
// GB_prejit_names: a list of names of PreJIT kernels
//------------------------------------------------------------------------------
#if ( 0 > 0 )
static char *GB_prejit_names [0] =
{
""
} ;
#endif
//------------------------------------------------------------------------------
// GB_prejit: return list of PreJIT function pointers and function names
//------------------------------------------------------------------------------
void GB_prejit
(
int32_t *nkernels, // return # of kernels
void ***Kernel_handle, // return list of function pointers to kernels
void ***Query_handle, // return list of function pointers to queries
char ***Name_handle // return list of kernel names
)
{
(*nkernels) = 0 ;
#if ( 0 == 0 )
(*Kernel_handle) = NULL ;
(*Query_handle) = NULL ;
(*Name_handle) = NULL ;
#else
(*Kernel_handle) = GB_prejit_kernels ;
(*Query_handle) = GB_prejit_queries ;
(*Name_handle) = GB_prejit_names ;
#endif
}
|