There was an error fetching the commit references. Please try again later.
refactor POW definition
A POW is now defined by a function `f` and three degrees of freedom `f(iteration, scratchpad, mask)`. `f` is the base algorithm like `cryptonight, cryptonight_gpu` An easy to pars snytax to write the full POW definition down is: `cryptonight_gpu:0x0000c000:0x00200000:0x001fffc0` This change make it very easy to integrate the new trend of variate the number of iteations or the scratchpad size without modifying the full code.
Showing
- xmrstak/backend/amd/amd_gpu/gpu.cpp 9 additions, 9 deletionsxmrstak/backend/amd/amd_gpu/gpu.cpp
- xmrstak/backend/amd/amd_gpu/gpu.hpp 4 additions, 4 deletionsxmrstak/backend/amd/amd_gpu/gpu.hpp
- xmrstak/backend/amd/autoAdjust.hpp 7 additions, 8 deletionsxmrstak/backend/amd/autoAdjust.hpp
- xmrstak/backend/amd/minethd.cpp 1 addition, 1 deletionxmrstak/backend/amd/minethd.cpp
- xmrstak/backend/amd/minethd.hpp 1 addition, 1 deletionxmrstak/backend/amd/minethd.hpp
- xmrstak/backend/cpu/autoAdjust.hpp 1 addition, 1 deletionxmrstak/backend/cpu/autoAdjust.hpp
- xmrstak/backend/cpu/autoAdjustHwloc.hpp 1 addition, 1 deletionxmrstak/backend/cpu/autoAdjustHwloc.hpp
- xmrstak/backend/cpu/crypto/cn_gpu.hpp 3 additions, 4 deletionsxmrstak/backend/cpu/crypto/cn_gpu.hpp
- xmrstak/backend/cpu/crypto/cn_gpu_avx.cpp 22 additions, 21 deletionsxmrstak/backend/cpu/crypto/cn_gpu_avx.cpp
- xmrstak/backend/cpu/crypto/cn_gpu_ssse3.cpp 22 additions, 23 deletionsxmrstak/backend/cpu/crypto/cn_gpu_ssse3.cpp
- xmrstak/backend/cpu/crypto/cryptonight_aesni.h 56 additions, 57 deletionsxmrstak/backend/cpu/crypto/cryptonight_aesni.h
- xmrstak/backend/cpu/crypto/cryptonight_common.cpp 2 additions, 2 deletionsxmrstak/backend/cpu/crypto/cryptonight_common.cpp
- xmrstak/backend/cpu/minethd.cpp 89 additions, 121 deletionsxmrstak/backend/cpu/minethd.cpp
- xmrstak/backend/cpu/minethd.hpp 3 additions, 3 deletionsxmrstak/backend/cpu/minethd.hpp
- xmrstak/backend/cryptonight.hpp 147 additions, 274 deletionsxmrstak/backend/cryptonight.hpp
- xmrstak/backend/nvidia/minethd.cpp 1 addition, 1 deletionxmrstak/backend/nvidia/minethd.cpp
- xmrstak/backend/nvidia/minethd.hpp 1 addition, 1 deletionxmrstak/backend/nvidia/minethd.hpp
- xmrstak/backend/nvidia/nvcc_code/cryptonight.hpp 3 additions, 3 deletionsxmrstak/backend/nvidia/nvcc_code/cryptonight.hpp
- xmrstak/backend/nvidia/nvcc_code/cuda_core.cu 85 additions, 52 deletionsxmrstak/backend/nvidia/nvcc_code/cuda_core.cu
- xmrstak/backend/nvidia/nvcc_code/cuda_cryptonight_gpu.hpp 8 additions, 9 deletionsxmrstak/backend/nvidia/nvcc_code/cuda_cryptonight_gpu.hpp
Loading
Please register or sign in to comment