frodo_buggins c30fc1cbd7 Add engine building selection to README | vor 3 Jahren | |
---|---|---|
src | vor 3 Jahren | |
test | vor 4 Jahren | |
third_party | vor 4 Jahren | |
tools | vor 4 Jahren | |
.gitignore | vor 4 Jahren | |
ACKNOWLEDGEMENTS | vor 4 Jahren | |
CMakeLists.txt | vor 3 Jahren | |
LICENSE | vor 4 Jahren | |
README.md | vor 3 Jahren | |
main.cpp | vor 4 Jahren |
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