Sen descrición

frodo_buggins c30fc1cbd7 Add engine building selection to README %!s(int64=3) %!d(string=hai) anos
src 7a6ecfc60e Use CL/cl2.hpp %!s(int64=3) %!d(string=hai) anos
test b5e1ca6d58 Large update %!s(int64=4) %!d(string=hai) anos
third_party b5e1ca6d58 Large update %!s(int64=4) %!d(string=hai) anos
tools b5e1ca6d58 Large update %!s(int64=4) %!d(string=hai) anos
.gitignore b5e1ca6d58 Large update %!s(int64=4) %!d(string=hai) anos
ACKNOWLEDGEMENTS b5e1ca6d58 Large update %!s(int64=4) %!d(string=hai) anos
CMakeLists.txt 7a6ecfc60e Use CL/cl2.hpp %!s(int64=3) %!d(string=hai) anos
LICENSE 1fe7d34cca Initial commit %!s(int64=4) %!d(string=hai) anos
README.md c30fc1cbd7 Add engine building selection to README %!s(int64=3) %!d(string=hai) anos
main.cpp b5e1ca6d58 Large update %!s(int64=4) %!d(string=hai) anos

README.md

ygg-brute

A CUDA miner for yggdrasil network addresses

Warning: this is an alpha version software. Bugs are to be expected.

Build

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

Usage

ygg-brute --help