GLUMIN: Fast Connectivity Check Based on LUTs For Efficient Graph Pattern Mining.
- Download datasets. Datasets are available here.
/dataset_table1
include all datasets shown in Table 1./dataset_135
and/dataset_table1
include all 135 datasets to test Figure 8.
mkdir bin && make
Usage: ./bin/pattern_gpu_GM <graph_path> <pattern_name>
Support Patterns in Figure 7: P1-P24
./bin/pattern_gpu_GM ./datasets/cit-Patents/graph P1
./bin/pattern_gpu_GM ./datasets/youtube/graph P13
./bin/pattern_gpu_GM ./datasets/soc-pokec/graph P17
Usage: ./bin/pattern_gpu_GM_LUT <graph_path> <pattern_name>
Support Patterns in Figure 7: P1-P24
./bin/pattern_gpu_GM_LUT ./datasets/cit-Patents/graph P1
./bin/pattern_gpu_GM_LUT ./datasets/youtube/graph P13
./bin/pattern_gpu_GM_LUT ./datasets/soc-pokec/graph P17
Usage: ./bin/pattern_gpu_GF_LUT <graph_path> <pattern_name> [use_lut]
Support Patterns in Figure 7: P1, P5, P10, P13.
[use_lut]
If the string "lut" is provided, the program will enable LUT mode.
./bin/pattern_gpu_GF_LUT ./datasets/mico/graph P1
./bin/pattern_gpu_GF_LUT ./datasets/mico/graph P1 lut
Usage: ./bin/automine_LUT <graph_path> <pattern_name> [use_lut]
Support Patterns in Figure 7: P1, P7, P10, P13, P15, P20
[use_lut]
If the string "lut" is provided, the program will enable LUT mode.
./bin/automine_LUT ./datasets/mico/graph P1
./bin/automine_LUT ./datasets/mico/graph P1 lut
Codegen source: codegen/*
Codegen pattern yml example: codegen/codegen/patterns
Codegen kernel example: codegen/include/generated/generated.cuh
- Codegen LUT kernel(build LUT in Level 1)
cd scripts && ./codegen.sh 1
- Make and run
cd .. && make && cd scripts && ./run.sh