From 60202ff0ec6b4a14c84cf093ab564cd02bf032eb Mon Sep 17 00:00:00 2001 From: Naim Date: Thu, 14 Mar 2024 04:16:56 +0100 Subject: [PATCH] Update README and remove csv graph files --- cpp/examples/README.md | 17 +++++------------ cpp/examples/graph.csv | 12 ------------ cpp/examples/ugraph.csv | 6 ------ 3 files changed, 5 insertions(+), 30 deletions(-) delete mode 100644 cpp/examples/graph.csv delete mode 100644 cpp/examples/ugraph.csv diff --git a/cpp/examples/README.md b/cpp/examples/README.md index 52c32c5a05c..273bbc8ec11 100644 --- a/cpp/examples/README.md +++ b/cpp/examples/README.md @@ -1,16 +1,16 @@ # libcugraph examples -Example codes on how to use libcugraph. ## Contents -- users +- users: Example codes on how to use libcugraph. - single_gpu_application: example code on how to use libgraph to run different graph algorithms in single-GPU. - multi_gpu_application: example code on how to use libgraph to run different graph algorithms in multi-GPU. -- developers +- developers: Example codes to demonstrate graph partition and primitives in cugraph. + - graph_partition: code to explain vertex and edge partitioning in cugraph. - cugraph_operations: example code for using cugraph primitives for simple graph operations needed to implement graph algorithms. @@ -27,15 +27,8 @@ Run `build.sh` from the examples dir to build the above listed examples. For single-GPU application -`path_to_executable path_to_a_csv_graph_file [memory allocation mode]` +`./path_to_executable path_to_a_csv_graph_file` For muti-GPU application -`mpirun -np 2 path_to_executable path_to_a_csv_graph_file [memory allocation mode]` - -Memory allocation mode can be one of the followings - - -- cuda -- pool -- binning -- managed \ No newline at end of file +`mpirun -np 2 path_to_executable path_to_a_csv_graph_file` diff --git a/cpp/examples/graph.csv b/cpp/examples/graph.csv deleted file mode 100644 index ef0d82caaab..00000000000 --- a/cpp/examples/graph.csv +++ /dev/null @@ -1,12 +0,0 @@ -0 1 1.0 -0 2 1.0 -1 0 1.0 -1 2 1.0 -2 0 1.0 -2 1 1.0 -3 4 1.0 -3 5 1.0 -4 3 1.0 -4 5 1.0 -5 3 1.0 -5 4 1.0 diff --git a/cpp/examples/ugraph.csv b/cpp/examples/ugraph.csv deleted file mode 100644 index eeb72d46c89..00000000000 --- a/cpp/examples/ugraph.csv +++ /dev/null @@ -1,6 +0,0 @@ -0 1 -0 2 -1 0 -1 2 -2 0 -2 1