CuSha
CuSha copied to clipboard
How to run SSSP?
I run algorithm SSSP by using dataset whose structure is edge list and only have two arguments.And the dataset is downloaded from http://snap.stanford.edu/data/index.html .But the result of program shows the value of all verices is 0. So how to test algorithm SSSP in your paper?Please help.
I just found that you set the weight of all vertices in completeEntryCuSha(cusha-UserFunctions.cuh) as 0 when running SSSP. Am I right?
The SSSP example expects the 3rd argument in the edge-list to be the edge weight. If such thing does not exist, it assumes the edge weight to be 0, as it is shown in line 38 in user_specified_pre_and_post_processing_functions.hpp
.