mirror of
https://github.com/e-ago/bitcracker.git
synced 2025-10-27 07:29:18 +00:00
Merge dfcd202927 into 4257899212
This commit is contained in:
commit
00f10fe146
@ -1,6 +1,9 @@
|
||||
# Please add right gencode for older CUDA/GPU: -gencode arch=compute_35,code=sm_35 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60
|
||||
|
||||
bitcracker_cuda:
|
||||
#To use Clang compiler uncomment below:
|
||||
#nvcc -ccbin clang-11 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_80,code=sm_80 -Xptxas -v -o bitcracker_cuda main.cu cuda_attack.cu utils.cu w_blocks.cu
|
||||
#Ensure CUDA has GCC/G++ linked properly for this to work
|
||||
nvcc -gencode arch=compute_70,code=sm_70 -gencode arch=compute_80,code=sm_80 -Xptxas -v -o bitcracker_cuda main.cu cuda_attack.cu utils.cu w_blocks.cu
|
||||
|
||||
clean:
|
||||
|
||||
@ -7,7 +7,9 @@ MAKE_INCLUDE=$(COMMON_INCLUDE) $(NVIDIA_INCLUDE) -cl-std=CL1.2 -O3
|
||||
|
||||
all:
|
||||
gcc $(MAKE_INCLUDE) $(FLAGS) -o bitcracker_opencl main.c opencl_attack.c utils.c w_blocks.c -lOpenCL
|
||||
# clang -framework OpenCL -o bitcracker_opencl main.c opencl_attack.c utils.c w_blocks.c
|
||||
#To use default CL version uncomment below(expect alot of warnings):
|
||||
#gcc $(COMMON_INCLUDE) $(NVIDIA_INCLUDE) -O3 $(FLAGS) -o bitcracker_opencl main.c opencl_attack.c utils.c w_blocks.c -lOpenCL
|
||||
#clang -framework OpenCL -o bitcracker_opencl main.c opencl_attack.c utils.c w_blocks.c
|
||||
|
||||
|
||||
clean:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user