@@ -27,8 +27,11 @@ char msg[LAGRAPH_MSG_LEN];
2727LAGraph_Graph G = NULL ;
2828GrB_Matrix A = NULL ;
2929#define LEN 512
30+ #ifdef GRAPHBLAS_HAS_CUDA
3031#define NTESTS 4
31- // #define NTESTS 7
32+ #else
33+ #define NTESTS 7
34+ #endif
3235char filename [LEN + 1 ];
3336
3437typedef struct {
@@ -44,10 +47,13 @@ test_info tests[] = {
4447 {"matrix_random_flow.mtx" , 0 ,9 , 22 , LAGraph_ADJACENCY_DIRECTED },
4548 {"rand.mtx" , 0 , 19 , 37 , LAGraph_ADJACENCY_DIRECTED },
4649 {"mcl.mtx" , 0 , 9 , 0 , LAGraph_ADJACENCY_DIRECTED },
47- // FIXME: re-enable these matrices:
48- //{"cycle_flow.mtx", 0, 89, 1, LAGraph_ADJACENCY_DIRECTED},
49- //{"random_weighted_general2.mtx", 0, 299, 11098623877, LAGraph_ADJACENCY_UNDIRECTED},
50- //{"random_weighted_general1.mtx", 0, 499, 6264009335, LAGraph_ADJACENCY_UNDIRECTED}
50+ #ifndef GRAPHBLAS_HAS_CUDA
51+ // FIXME: the CUDA cases are currently very slow for these matrices,
52+ // when the GPU is hacked to always be used regardless of problem size:
53+ {"cycle_flow.mtx" , 0 , 89 , 1 , LAGraph_ADJACENCY_DIRECTED },
54+ {"random_weighted_general2.mtx" , 0 , 299 , 11098623877 , LAGraph_ADJACENCY_UNDIRECTED },
55+ {"random_weighted_general1.mtx" , 0 , 499 , 6264009335 , LAGraph_ADJACENCY_UNDIRECTED }
56+ #endif
5157};
5258
5359//399 11098623877 alt sink and src for test 6
0 commit comments