Csrcolor
Efficient and High-quality Graph Coloring on the GPU
Install / Use
/learn @chenxuhao/CsrcolorREADME
Copyright 2016 Xuhao Chen, National University of Defense Technology This is the code for sequential graph coloring on CPU and CUDA code for parallel graph coloring on GPGPUs.
Variants: csrcolor: graph coloring routine of NVIDIA cusparse 3-step-GM: parallel graph coloring implemented on GPGPUs by Grosset et al. sequential: sequential graph coloring using FirstFit strategy datadriven: datadriven implementation of parallel graph coloring using FirstFit strategy topodriven: topodriven implementation of parallel graph coloring using FirstFit strategy
Requirements: compute capability 3.5 and higher Kepler or later GPU hardware CUB v1.1.1
The instructions below assume CSRCOLOR_CODE has been installed in $CSRCOLOR_CODE_DIR.
Each variant directory under $CSRCOLOR_CODE_DIR/$VARIANT contains a README that explains what $VARIANT does, how to run it, details of implementations and other useful info.
INSTALLATION
You will need to download and install CUB from here:
http://nvlabs.github.io/cub/
Place a symlink to the top-level CUB directory in $CSRCOLOR_CODE_DIR. Assuming the top-level CUB directory is $CUBDIR:
$ cd $CSRCOLOR_CODE_DIR $ ln -s $CUBDIR
BUILDING
Assuming you're in $CSRCOLOR_CODE_DIR: $ make # compiles all variants
RUNNING
Each variant directory under $CSRCOLOR_CODE_DIR contains a simple `run' script that runs the application with all recommended inputs.
Authors: Xuhao Chen cxh.nudt@gmail.com Pingfan Li li_pingfan@163.com
Citations: Pingfan Li et al., High Performance Parallel Graph Coloring on GPGPUs, IPDPSW, 2016 Xuhao Chen et al., Efficient and High-quality Sparse Graph Coloring on the GPU, Tech. Rep. NUDT-CS-2016-003, 2016
Related Skills
node-connect
348.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.1kCreate 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
348.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
