No Description

frodo_buggins c30fc1cbd7 Add engine building selection to README 2 years ago
src 7a6ecfc60e Use CL/cl2.hpp 2 years ago
test b5e1ca6d58 Large update 3 years ago
third_party b5e1ca6d58 Large update 3 years ago
tools b5e1ca6d58 Large update 3 years ago
.gitignore b5e1ca6d58 Large update 3 years ago
ACKNOWLEDGEMENTS b5e1ca6d58 Large update 3 years ago
CMakeLists.txt 7a6ecfc60e Use CL/cl2.hpp 2 years ago
LICENSE 1fe7d34cca Initial commit 3 years ago
README.md c30fc1cbd7 Add engine building selection to README 2 years ago
main.cpp b5e1ca6d58 Large update 3 years ago

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