Skip to content

Commit

Permalink
working cuckarooz CUDA solver
Browse files Browse the repository at this point in the history
  • Loading branch information
tromp committed Jul 15, 2020
1 parent 595662c commit efbf4f8
Show file tree
Hide file tree
Showing 3 changed files with 587 additions and 508 deletions.
4 changes: 2 additions & 2 deletions src/cuckarooz/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ mean30x1: cuckarooz.hpp bitmap.hpp graph.hpp ../threads/barrier.hpp ../crypto/s
mean30x8: cuckarooz.hpp bitmap.hpp graph.hpp ../threads/barrier.hpp ../crypto/siphash.hpp mean.hpp mean.cpp Makefile
$(GPP) -o $@ -mavx2 -DNSIPHASH=8 -DEXPANDROUND=10 -DCOMPRESSROUND=22 -DEDGEBITS=30 mean.cpp $(BLAKE_2B_SRC)

cuda19: ../crypto/siphash.cuh compress.hpp graph.hpp mean.cu Makefile
cuda19: ../crypto/siphash.cuh cuckarooz.hpp compress.hpp graph.hpp mean.cu Makefile
$(NVCC) -o $@ -DEPS_A=4 -DEPS_B=3 -DIDXSHIFT=2 -DEDGEBITS=19 -arch sm_35 mean.cu $(BLAKE_2B_SRC)

cuda29: ../crypto/siphash.cuh compress.hpp graph.hpp mean.cu Makefile
cuda29: ../crypto/siphash.cuh cuckarooz.hpp compress.hpp graph.hpp mean.cu Makefile
$(NVCC) -o $@ -DEDGEBITS=29 -arch sm_35 mean.cu $(BLAKE_2B_SRC)
Loading

0 comments on commit efbf4f8

Please sign in to comment.