forked from xmrig/xmrig-cuda
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge xmrig-cuda v6.12.0 into master
- Loading branch information
Showing
7 changed files
with
90 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,8 @@ | |
* Copyright 2016 Jay D Dee <[email protected]> | ||
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt> | ||
* Copyright 2018 Lee Clagett <https://github.com/vtnerd> | ||
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh> | ||
* Copyright 2016-2020 XMRig <https://github.com/xmrig>, <[email protected]> | ||
* Copyright 2018-2021 SChernykh <https://github.com/SChernykh> | ||
* Copyright 2016-2021 XMRig <https://github.com/xmrig>, <[email protected]> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -85,6 +85,9 @@ static AlgoName const algorithm_names[] = { | |
{ "cn-pico", Algorithm::CN_PICO_0 }, | ||
{ "cn-pico/tlo", Algorithm::CN_PICO_TLO }, | ||
# endif | ||
# ifdef XMRIG_ALGO_CN_FEMTO | ||
{ "cn/upx2", Algorithm::CN_UPX2 }, | ||
# endif | ||
# ifdef XMRIG_ALGO_ASTROBWT | ||
{ "astrobwt", Algorithm::ASTROBWT_DERO }, | ||
# endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,8 @@ | |
* Copyright 2016 Jay D Dee <[email protected]> | ||
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt> | ||
* Copyright 2018 Lee Clagett <https://github.com/vtnerd> | ||
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh> | ||
* Copyright 2016-2020 XMRig <https://github.com/xmrig>, <[email protected]> | ||
* Copyright 2018-2021 SChernykh <https://github.com/SChernykh> | ||
* Copyright 2016-2021 XMRig <https://github.com/xmrig>, <[email protected]> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -59,6 +59,7 @@ class Algorithm | |
CN_PICO_TLO, // "cn-pico/tlo" CryptoNight-Pico (TLO) | ||
CN_CCX, // "cn/ccx" Conceal (CCX) | ||
CN_GPU, // "cn/gpu" CryptoNight-GPU (Ryo). | ||
CN_UPX2, // "cn/upx2" Uplexa (UPX2) | ||
RX_0, // "rx/0" RandomX (reference configuration). | ||
RX_WOW, // "rx/wow" RandomWOW (Wownero). | ||
RX_ARQ, // "rx/arq" RandomARQ (Arqma). | ||
|
@@ -79,6 +80,7 @@ class Algorithm | |
CN_LITE, | ||
CN_HEAVY, | ||
CN_PICO, | ||
CN_FEMTO, | ||
RANDOM_X, | ||
ARGON2, | ||
ASTROBWT, | ||
|
@@ -90,7 +92,7 @@ class Algorithm | |
inline Algorithm(Id id) : m_id(id) {} | ||
inline Algorithm(int id) : m_id(id > INVALID && id < MAX ? static_cast<Id>(id) : INVALID) {} | ||
|
||
inline bool isCN() const { auto f = family(); return f == CN || f == CN_LITE || f == CN_HEAVY || f == CN_PICO; } | ||
inline bool isCN() const { auto f = family(); return f == CN || f == CN_LITE || f == CN_HEAVY || f == CN_PICO || f == CN_FEMTO; } | ||
inline bool isEqual(const Algorithm &other) const { return m_id == other.m_id; } | ||
inline bool isValid() const { return m_id != INVALID; } | ||
inline Family family() const { return family(m_id); } | ||
|
@@ -144,6 +146,9 @@ class Algorithm | |
case CN_PICO: | ||
return oneMiB / 4; | ||
|
||
case CN_FEMTO: | ||
return oneMiB / 8; | ||
|
||
default: | ||
break; | ||
} | ||
|
@@ -234,6 +239,9 @@ class Algorithm | |
case CN_PICO_TLO: | ||
return CN_PICO; | ||
|
||
case CN_UPX2: | ||
return CN_FEMTO; | ||
|
||
case RX_0: | ||
case RX_WOW: | ||
case RX_ARQ: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet> | ||
* Copyright 2016 Jay D Dee <[email protected]> | ||
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt> | ||
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh> | ||
* Copyright 2016-2020 XMRig <https://github.com/xmrig>, <[email protected]> | ||
* Copyright 2018-2021 SChernykh <https://github.com/SChernykh> | ||
* Copyright 2016-2021 XMRig <https://github.com/xmrig>, <[email protected]> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -28,13 +28,13 @@ | |
#define APP_ID "xmrig-cuda" | ||
#define APP_NAME "XMRig" | ||
#define APP_DESC "XMRig CUDA plugin" | ||
#define APP_VERSION "6.5.0-mo1" | ||
#define APP_VERSION "6.12.0-mo1" | ||
#define APP_DOMAIN "xmrig.com" | ||
#define APP_SITE "www.xmrig.com" | ||
#define APP_COPYRIGHT "Copyright (C) 2016-2020 xmrig.com" | ||
|
||
#define APP_VER_MAJOR 6 | ||
#define APP_VER_MINOR 5 | ||
#define APP_VER_MINOR 12 | ||
#define APP_VER_PATCH 0 | ||
|
||
#define API_VERSION 3 | ||
|
58a437c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, I couldn't find the correct commit where this code lies, but here is my issue anyway.
I encounter the following error when trying to run xmrig-mo with the xmrig-mo-cuda. I was able to compile the cuda library just fine.
I'm on Ubuntu 20.04 with a NVIDIA GeForce GT 710
futex(0x55818eb18b0c, FUTEX_WAKE_PRIVATE, 1[2021-05-31 02:52:38.505] nvidia thread #0 failed with error <cryptonight_core_gpu_hash_gpu>:859 "invalid configuration argument"
I tried to isolate the problem, but couldn't quite figure it out without really diving in.
strace just loops through infinitely with the following:
etc. Any help is appreciated. It's not a great video card, but every hash counts imho. Thanks!