forked from tmrlvi/kaspa-miner
-
Notifications
You must be signed in to change notification settings - Fork 10
/
build_fishlibs.sh
14 lines (6 loc) · 1.04 KB
/
build_fishlibs.sh
1
2
3
4
5
6
7
8
9
10
11
nvcc plugins/cuda/karlsen-cuda-native/src/karlsen-cuda.cu -std=c++11 -O3 --restrict --ptx --gpu-architecture=compute_86 --gpu-code=sm_86 -o plugins/cuda/resources/karlsen-cuda-sm86.ptx -Xptxas -O3 -Xcompiler -O3
nvcc plugins/cuda/karlsen-cuda-native/src/karlsen-cuda.cu -std=c++11 -O3 --restrict --ptx --gpu-architecture=compute_75 --gpu-code=sm_75 -o plugins/cuda/resources/karlsen-cuda-sm75.ptx -Xptxas -O3 -Xcompiler -O3
nvcc plugins/cuda/karlsen-cuda-native/src/karlsen-cuda.cu -std=c++11 -O3 --restrict --ptx --gpu-architecture=compute_61 --gpu-code=sm_61 -o plugins/cuda/resources/karlsen-cuda-sm61.ptx -Xptxas -O3 -Xcompiler -O3
nvcc plugins/cuda/karlsen-cuda-native/src/karlsen-cuda.cu -ccbin=gcc-7 -std=c++11 -O3 --restrict --ptx --gpu-architecture=compute_30 --gpu-code=sm_30 -o plugins/cuda/resources/karlsen-cuda-sm30.ptx
nvcc plugins/cuda/karlsen-cuda-native/src/karlsen-cuda.cu -ccbin=gcc-5 -std=c++11 -O3 --restrict --ptx --gpu-architecture=compute_20 --gpu-code=sm_20 -o plugins/cuda/resources/karlsen-cuda-sm20.ptx
cargo build --release