No Description

frodo_buggins c30fc1cbd7 Add engine building selection to README 1 month ago
src 7a6ecfc60e Use CL/cl2.hpp 1 month ago
test b5e1ca6d58 Large update 6 months ago
third_party b5e1ca6d58 Large update 6 months ago
tools b5e1ca6d58 Large update 6 months ago
.gitignore b5e1ca6d58 Large update 6 months ago
ACKNOWLEDGEMENTS b5e1ca6d58 Large update 6 months ago
CMakeLists.txt 7a6ecfc60e Use CL/cl2.hpp 1 month ago
LICENSE 1fe7d34cca Initial commit 10 months ago
README.md c30fc1cbd7 Add engine building selection to README 1 month ago
main.cpp b5e1ca6d58 Large update 6 months 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