MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / setup

Function setup

tests/unit/test_all_paths.c:78–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void setup() {
79 // Use the malloc family for allocations
80 Alloc_Reset();
81
82 // Initialize GraphBLAS.
83 GrB_init(GrB_NONBLOCKING);
84 GxB_Global_Option_set(GxB_FORMAT, GxB_BY_ROW); // all matrices in CSR format
85 GxB_Global_Option_set(GxB_HYPER_SWITCH, GxB_NEVER_HYPER); // matrices are never hypersparse
86}
87
88void tearDown() {
89 GrB_finalize();

Callers

nothing calls this directly

Calls 3

Alloc_ResetFunction · 0.85
GrB_initFunction · 0.85
GxB_Global_Option_setFunction · 0.85

Tested by

no test coverage detected