-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompile
11 lines (9 loc) · 1.05 KB
/
compile
1
2
3
4
5
6
7
8
9
10
11
nvcc -std=c++20 --use_fast_math -I ./include -O3 -D is_ipm -D is_float -o ./bin/ipm_gpu ./src/main_ipm_irs.cu
nvcc -std=c++20 --use_fast_math -I ./include -O3 -D is_ipm -D is_double -o ./bin/ipm_gpu_double ./src/main_ipm_irs.cu
nvcc -std=c++20 --use_fast_math -I ./include -O3 -D is_irs -D is_float -o ./bin/irs_gpu ./src/main_ipm_irs.cu
nvcc -std=c++20 --compiler-options '-fPIC' --use_fast_math -I ./include -O3 -D is_float -shared -o ./bin/lib_ipm.so ./src/lib_ipm.cu
nvcc -std=c++20 --compiler-options '-fPIC' --use_fast_math -I ./include -O3 -D is_double -shared -o ./bin/lib_ipm_double.so ./src/lib_ipm.cu
nvcc -std=c++20 --use_fast_math -I ./include -O3 -D is_double -o ./bin/ccf_gpu ./src/main_ccf.cu
nvcc -std=c++20 --compiler-options '-fPIC' --use_fast_math -I ./include -O3 -D is_double -shared -o ./bin/lib_ccf.so ./src/lib_ccf.cu
nvcc -std=c++20 --use_fast_math -I ./include -O3 -D is_double -o ./bin/ncc_gpu ./src/main_ncc.cu
nvcc -std=c++20 --compiler-options '-fPIC' --use_fast_math -I ./include -O3 -D is_double -shared -o ./bin/lib_ncc.so ./src/lib_ncc.cu