An open API service indexing awesome lists of open source software.

https://github.com/hunjixin/keccak_cu

fast keccak cuda implemetation
https://github.com/hunjixin/keccak_cu

Last synced: 13 days ago
JSON representation

fast keccak cuda implemetation

Awesome Lists containing this project

README

        

# keccak cuda hash

implemation of paper https://www.researchgate.net/publication/220849942_GPU_Implementation_of_the_Keccak_Hash_Function_Family.
also do some improvement with asm.

performance: test on 3060ti 43M hash/s

command

build ptx
```
cd gpulib
nvcc --ptx .\keccak.cu -o ./keccak.ptx
```

run bench
```
cd gputool
go build

./gputool --hash_per_thread 1000 --grid //default difficult nearly cannot find the nonce
./gputool --hash_per_thread 1000 --grid --difficulty 4443685057045916916839494277496125038705878205143482420972918669312 //expect to finish with 6 minitus for 1000m hash spped
```

run batch
```
cd gputool_batch
go build

./gputool_batch --hash_per_thread 1000 --grid --difficulty 4443685057045916916839494277496125038705878205143482420972918669312 //change to a completable difficulty
```