BFSCUDA
CUDA Programming: Optimized bidirectional breadth-first search (BFS) for graphs with 14,000,000+ nodes and 34,000,000+ arcs. Also included binary tree algorithm
Install / Use
/learn @PhillipLy/BFSCUDAREADME
Breadth First Search and Binary Tree algorithms in CUDA
CUDA Programming: Bidirectional breadth-first search (BFS) for graphs with 14,000,000+ nodes and 34,000,000+ arcs. Also included basic binary tree algorithm (construction + traversal).
Phillip Ly
Professor: Dr. Doina Bein
CPSC 479 High Performance Computing for Data Science - Spring 2018 - California State University Fullerton
Link to PPT slides: https://drive.google.com/open?id=1yvSYNQWPRfprk_XCQTeYhMUTpJ2aGqMDaw21bC6uxhc
Link to Report: https://drive.google.com/open?id=1Ygq1SgPNy9FugePJaf9gByz6i-srwpntzcKVZjrpf1c
Prerequisites and Preprocessing instructions
- A good GPU, in this project we used Nvidia GTX 1080 Ti
- Ubuntu 16.04 with CUDA. In this project, our server is equipped with six NVIDIA GeForce GTX 1080 Ti (12GB of VRAM). Furthermore, this Ubuntu server also includes 40 Intel Xeon processors E5-2630 v4 2.20GHz which have 2 threads per core, 10 cores per socket, and 256 GB of main memory.
- Download Central USA and NYC distance and travel graphs via link: http://www.dis.uniroma1.it/challenge9/download.shtml
- Preprocess data so that only the first two columns (warning: large datasets with 14,000,000+ nodes and 34,000,000+ arcs) remained
Commands to execute bidirectional BFS program
For example, in order to process New York City's distance graph:
# cd project2
# nvcc bfsearch.cu
# ./a.out NYCdistance.txt
If you want to process larger graphs such as Full USA and Central USA, you have to preprocess those graphs first.
Commands to run binary tree algorithm
# cd project2
# cd binary_tree
# make
# ./main
Related Skills
node-connect
351.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
