Skip to content

Commit

Permalink
sync with v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTimothyAldenDavis committed Oct 30, 2023
1 parent 93e2b7f commit 1824ae7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/benchmark/tc_gpu_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@


#include "LAGraphX.h"

#if defined ( SUITESPARSE_CUDA )

#define EXPERIMENTAL_GPU
#include "LAGraph_demo.h"
// #include "GB_Global.h"
Expand Down Expand Up @@ -76,9 +79,11 @@ void print_method (FILE *f, int method, int sorting)
{
fprintf (f, "%s\n", method_name (method, sorting)) ;
}
#endif

int main (int argc, char **argv)
{
#if defined ( SUITESPARSE_CUDA )

//--------------------------------------------------------------------------
// initialize LAGraph and GraphBLAS
Expand Down Expand Up @@ -313,5 +318,6 @@ int main (int argc, char **argv)
nthreads_best, t_best, 1e-6 * nvals / t_best) ;
LG_FREE_ALL ;
LAGRAPH_TRY (LAGraph_Finalize (msg)) ;
#endif
return (GrB_SUCCESS) ;
}

0 comments on commit 1824ae7

Please sign in to comment.