The LonestarGPU (LSG) suite contains CUDA implementations of several irregular algorithms that exhibit amorphous data parallelism.
You can checkout the latest release by typing (in a terminal):
git clone -b release-4.0 https://github.com/IntelligentSoftwareSystems/GaloisGPU
The master branch will be regularly updated, so you may try out the latest development code as well, by checking out the master branch:
git clone https://github.com/IntelligentSoftwareSystems/GaloisGPU
- CUB (v1.3.1)
- ModernGPU (v1.1)
https://github.com/NVlabs/moderngpu/releases
You will need to download CUB and Mgpu. Assuming LSGDIR contains the LonestarGPU source (i.e., this repository):
cd $LSGDIR/rt/include
ln -s path-to-cub-x.y/ cub
ln -s path-to-mgpu-x.y/ mgpu
To compile for a specific GPU architecture, make changes to the arch.mk file in the top directory.
cd $LSGDIR
make inputs # downloads the inputs required for LSG
make # compiles all applications
You can also recompile individual applciation ($APP) by entering $LSGDIR/apps/$APP directory. However, this can be done only after first make was performed in the $LSGDIR.
cd $LSGDIR
make
./test /path/to/graph/file
cd $LSGDIR
cd apps/bfs
./test /path/to/NY.gr -o output-NY
Further documentation is available at http://iss.ices.utexas.edu/?p=projects/galois/lonestargpu
For bugs, please raise an issue here at gihub using the 'Issues' tab https://github.com/IntelligentSoftwareSystems/GaloisGPU/issues. Please send questions and comments to Galois users mailing list: [email protected]. You may subscribe at https://utlists.utexas.edu/sympa/subscribe/galois-users.