From 47fead3ab37621b06fe8b3878069682e1baf51a4 Mon Sep 17 00:00:00 2001 From: Haifa Bogdan Adnan Date: Fri, 30 Aug 2019 22:33:11 +0300 Subject: [PATCH 1/3] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index da8412a9..42250534 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ In order to support development, this miner has 1-5% configurable dev fee - 1-5 ## Releases There are binaries compiled for Windows 10 and Linux/HiveOS. Just pick the one matching your OS and skip to usage information. If for some reason the binaries don't work for you or you want the cutting edge version of this software you can try building it yourself using below instructions (build instructions are only provided for Ubuntu, you will need to adapt them accordingly for other distribution). You can get the binaries from here: -https://github.com/bogdanadnan/ninjarig/releases +https://github.com/turtlecoin/ninjarig/releases ## Build it yourself - Linux What you need: @@ -36,7 +36,7 @@ $ export CC=gcc-8 $ export CXX=g++-8 # Clone Repository -$ git clone http://github.com/bogdanadnan/ninjarig.git && cd ninjarig +$ git clone https://github.com/turtlecoin/ninjarig.git && cd ninjarig # Make Build Repository $ mkdir build && cd build @@ -71,7 +71,7 @@ So, if you really really really want to do that, these are the basic steps you w - in the CMD window opened, navigate to ninja folder. - type the following commands: ```sh -$ git clone http://github.com/bogdanadnan/ninjarig.git +$ git clone https://github.com/turtlecoin/ninjarig.git $ cd build_clang $ set CC=clang-cl $ set CXX=clang-cl From decff308c0eaa6abac8c267d7b69b0b57cd3aced Mon Sep 17 00:00:00 2001 From: Haifa Bogdan Adnan Date: Fri, 30 Aug 2019 23:43:12 +0300 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 42250534..74b82cdb 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ $ git clone https://github.com/turtlecoin/ninjarig.git $ cd build_clang $ set CC=clang-cl $ set CXX=clang-cl -$ cmake ../ninjarig -DCMAKE_BUILD_TYPE=Release -WITH_CUDA=OFF -G "MinGW Makefiles" +$ cmake ../ninjarig -DCMAKE_BUILD_TYPE=Release -DWITH_CUDA=OFF -G "MinGW Makefiles" $ cd ../build_vc $ cmake ../ninjarig -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 15 2017 Win64" $ cd ../build_clang From 2614322c63eaa163b95c6cacd440fde3c1e15246 Mon Sep 17 00:00:00 2001 From: Haifa Bogdan Adnan Date: Mon, 2 Sep 2019 12:29:03 +0300 Subject: [PATCH 3/3] CUDA bugfix: set cuda device before creating stream --- src/crypto/argon2_hasher/hash/gpu/cuda/CudaHasher.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/crypto/argon2_hasher/hash/gpu/cuda/CudaHasher.cpp b/src/crypto/argon2_hasher/hash/gpu/cuda/CudaHasher.cpp index 3aa8078c..60a6cbfd 100644 --- a/src/crypto/argon2_hasher/hash/gpu/cuda/CudaHasher.cpp +++ b/src/crypto/argon2_hasher/hash/gpu/cuda/CudaHasher.cpp @@ -274,6 +274,7 @@ bool CudaHasher::buildThreadData() { thread_data.threadId = threadId; cudaStream_t stream; + cudaSetDevice(device->cudaIndex); device->error = cudaStreamCreate(&stream); if(device->error != cudaSuccess) { LOG("Error running kernel: (" + to_string(device->error) + ") cannot create cuda stream.");