frodo_buggins c30fc1cbd7 Add engine building selection to README | 3 years ago | |
---|---|---|
src | 3 years ago | |
test | 4 years ago | |
third_party | 4 years ago | |
tools | 4 years ago | |
.gitignore | 4 years ago | |
ACKNOWLEDGEMENTS | 4 years ago | |
CMakeLists.txt | 3 years ago | |
LICENSE | 4 years ago | |
README.md | 3 years ago | |
main.cpp | 4 years ago |
A CUDA miner for yggdrasil network addresses
OpenCL engine requires OpenCL C++ headers (opencl-clhpp-headers
on Ubuntu, opencl-clhpp
on Archlinux, dev-libs/clhpp
on Gentoo, etc.).
The GPU's compute capability should be specified for optimal performance. It can be obtained from CUDA capabilities.
cmake -H. -Bbuild -DCMAKE_CUDA_ARCHITECTURES=<your CUDA capability, i.e 61 for Pascal 1060 GTX>
cmake --build build
Currently there are two engines: CUDA and OpenCL. By default both are built, but it's possible to select only one via YGG_BRUTE_ENGINES
variable:
# Select only the CUDA engine
cmake -H. -Bbuild -DYGG_BRUTE_ENGINES=cuda
# Select only the OpenCl engine
cmake -H. -Bbuild -DYGG_BRUTE_ENGINES=opencl
ygg-brute --help