Pages:
Author

Topic: [ANN] ccminer 2.3 - opensource - GPL (tpruvot) - page 2. (Read 499997 times)

newbie
Activity: 4
Merit: 0
how to change those code for support equihash 96_5

i was tried changed the  equihash.h :
Code:
#define WK 9 to 5
#define WN 200 to 96

released ccminer.exe  but test mining coin  got this error:
Code:
[2019-05-13 00:26:49] GPU #0: start=00000000 end=000fffff range=000fffff
[2019-05-13 00:26:49] GPU #0: Allocated 122 MB of context memory
[2019-05-13 00:26:49] GPU #0: solver: CUDA error 'an illegal memory access was encountered' in func 'eq_cuda_context::solve' line 2058
[2019-05-13 00:26:52] GPU #0: start=00000001 end=00100000 range=000fffff
[2019-05-13 00:26:52] GPU #0: an illegal memory access was encountered
[2019-05-13 00:26:52] GPU #0: scanhash_equihash:191 all CUDA-capable devices are busy or unavailable
[2019-05-13 00:26:52] GPU #0: init: CUDA: failed to alloc memory
[2019-05-13 00:26:52] restart_threads

how to fix it?
thx

ps
i was tried nothing changed code for equihash 200_9  is ok
member
Activity: 179
Merit: 10
That's because sqrt() only uses floating point variables (float, double, or long double).
Adding casts to double should fix the error:

Code:
for(uint64_t i = 3; i < sqrt((double)number); i += 2) {

Code:
uint64_t sz = NIGHTCAP_CACHE_BYTES_INIT + (NIGHTCAP_CACHE_BYTES_GROWTH * round(sqrt((double)(6 * (block_number / NIGHTCAP_EPOCH_LENGTH)))));

Code:
uint64_t sz = NIGHTCAP_DATASET_BYTES_INIT + (NIGHTCAP_DATASET_BYTES_GROWTH * round(sqrt((double)(6 * (block_number / NIGHTCAP_EPOCH_LENGTH)))));

ok, thanks. Cheesy
hero member
Activity: 675
Merit: 513
That's because sqrt() only uses floating point variables (float, double, or long double).
Adding casts to double should fix the error:

Code:
for(uint64_t i = 3; i < sqrt((double)number); i += 2) {

Code:
uint64_t sz = NIGHTCAP_CACHE_BYTES_INIT + (NIGHTCAP_CACHE_BYTES_GROWTH * round(sqrt((double)(6 * (block_number / NIGHTCAP_EPOCH_LENGTH)))));

Code:
uint64_t sz = NIGHTCAP_DATASET_BYTES_INIT + (NIGHTCAP_DATASET_BYTES_GROWTH * round(sqrt((double)(6 * (block_number / NIGHTCAP_EPOCH_LENGTH)))));
member
Activity: 179
Merit: 10
static int nightcap_is_prime(uint64_t number) {
    if (number <= 1) return 0;
    if((number % 2 == 0) && number > 2) return 0;
    for(uint64_t i = 3; i < sqrt(number); i += 2) {
        if(number % i == 0)
            return 0;
    }
    return 1;
}

static uint64_t nightcap_get_cache_size(uint64_t block_number) {
    uint64_t sz = NIGHTCAP_CACHE_BYTES_INIT + (NIGHTCAP_CACHE_BYTES_GROWTH * round(sqrt(6 * (block_number / NIGHTCAP_EPOCH_LENGTH))));
    sz -= NIGHTCAP_HASH_BYTES;
    while (!nightcap_is_prime(sz / NIGHTCAP_HASH_BYTES)) {
        sz -= 2 * NIGHTCAP_HASH_BYTES;
    }
    return sz;
}

static uint64_t nightcap_get_full_size(uint64_t block_number) {
    uint64_t sz = NIGHTCAP_DATASET_BYTES_INIT + (NIGHTCAP_DATASET_BYTES_GROWTH * round(sqrt(6 * (block_number / NIGHTCAP_EPOCH_LENGTH))));
    sz -= NIGHTCAP_MIX_BYTES;
    while (!nightcap_is_prime(sz / NIGHTCAP_MIX_BYTES)) {
        sz -= 2 * NIGHTCAP_MIX_BYTES;
    }
    return sz;

I tried to create an executable for windows but this error appears "135 error c2668: 'sqrt': ambiguous call to overloaded function" Can you tell me why?
https://github.com/mangofusi/ccminer/tree/nightcap
legendary
Activity: 3122
Merit: 1003
That's a big outage.  Smiley
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
this issue affected 12500 users and 200 companies around... for 24h + mobile phones too (at a smaller scale)
legendary
Activity: 1793
Merit: 1028
YIIMP IS UP--

I connected to Yiimp today.  My shares are where I left them, and the site looks as before.  Hope things recover smoothly!       --scryptr
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
Wallets are still connected via the backup connection, so payouts were made normally.

But this connection is not very good today and i cant resume normal operations...
legendary
Activity: 1793
Merit: 1028
I'LL LOOK FOR A NEWS REPORT--

Sorry to hear about it.  If it is that severe, it may be in the news.  Glad to see the new release of CCminer, however.

Hope things return to normal!        --scryptr

EDIT: Apparently, there is severe flooding in Northwest France, and snow in the Alps with the possibility of avalanches.       --scryptr
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
My fiber network (+4G phones too) is down since 6h in the local area (at least 30km around). Never happened so long and still waiting explanations...

Maybe some meteo issue, we had lot of snow today, and storms and lot of snow/rain the last days... but nothing sure
legendary
Activity: 1793
Merit: 1028
YIIMP.EU IS DOWN--

I have tried for several hours to connect.  Has the pool been retired?       --scryptr
newbie
Activity: 162
Merit: 0
Official Ccminer v2.3.1 by Tpruvot


https://github.com/tpruvot/ccminer/releases/download/2.3.1-tpruvot/ccminer-2.3.1-cuda10.7z


Jan. 30th 2019 v2.3.1

Handle Lyra2v3 algo
Handle sha256q algo
Handle exosis algo
Handle blake2b standard algo
Built with CUDA 10 for SM3+ devices, SM 7.5 arch was integrated, but seems to only waste disk space.

Note: CUDA 10 requires a nvidia driver 410.48 or more recent.


 Wink Thanks for all @Epsylon3
copper member
Activity: 37
Merit: 4
Good morning,

My name is Jeremy and I am one of three co-founders of Vidulum. We are testing a different variant of the Equihash parameters for our project. Would you be possibly be willing to add it to your mining software? We have successfully been able to get the params to work with our daemon/CPU mining on testnet, but we were unable to compile a GPU miner. Any input at all would be very much appreciated!

Feel free to contact me here, or;
[email protected]

Sincerely,
Jeremy Dixon

Vidulum App: https://vidulum.app/
BitcoinTalk [ANN]: https://bitcointalksearch.org/topic/ann-vidulum-vdl-multi-asset-web-wallet-feat-v-staking-gpu-algopowmn-5062890
GitHub: https://github.com/vidulum
Discord: https://discord.gg/fxuYqX8
sp_
legendary
Activity: 2898
Merit: 1087
Team Black developer
Italian stallion Smiley
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
The market crashed and all the ccminer devs are making fee-miners or private miners... Smiley

I just released my 2x verus miner as opensource :-)
sp_
legendary
Activity: 2898
Merit: 1087
Team Black developer
The market crashed and all the ccminer devs are making fee-miners or private miners... Smiley
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
monero forked to a new pow algorithm which is not supported by this ccminer.
newbie
Activity: 10
Merit: 0
Please check this issue:

ccminer 2.3
Geforce GTX960
Nvidia drivers: 417.35 (12/12/2018)
Windows 10 (64 bits)

Monero in Nanopool:

Batch:
Code:
ccminer-x64 -a monero -o stratum+tcp://xmr-us-east1.nanopool.org:14444 -u Mywalletaddress --cpu-priority 3

Get this result:
Code:
*** ccminer 2.3 for nVidia GPUs by tpruvot@github ***
    Built with VC++ 2013 and nVidia CUDA SDK 9.0 64-bits

  Originally based on Christian Buchner and Christian H. project
  Include some kernels from alexis78, djm34, djEzo, tsiv and krnlx.

BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo (tpruvot)

[2018-12-13 09:53:35] Using JSON-RPC 2.0
[2018-12-13 09:53:35] Starting on stratum+tcp://xmr-us-east1.nanopool.org:14444
[2018-12-13 09:53:35] NVML GPU monitoring enabled.
[2018-12-13 09:53:35] NVAPI GPU monitoring enabled.
[2018-12-13 09:53:35] 1 miner thread started, using 'cryptonight' algorithm.
[2018-12-13 09:53:35] Stratum difficulty set to 120001 (120.001)
[2018-12-13 09:53:35] GPU #0: GeForce GTX 960, 1761 MB available, 8 SMX
[2018-12-13 09:53:35] GPU #0: 256 threads (8) with 32 blocks
[2018-12-13 09:53:40] GPU #0: result for nonce a5000fd4 does not validate on CPU!
[2018-12-13 09:54:02] GPU #0: result for nonce a50057e3 does not validate on CPU!
[2018-12-13 09:54:32] GPU #0: 1442 MHz 16.84 H/W 48W 54C FAN 30%
[2018-12-13 09:55:38] GPU #0: 1442 MHz 16.75 H/W 48W 55C FAN 30%
[2018-12-13 09:56:03] GPU #0: GeForce GTX 960, 841.17 H/s
[2018-12-13 09:56:33] GPU #0: result for nonce ab524013 does not validate on CPU!
[2018-12-13 09:56:50] GPU #0: result for nonce ab5276bb does not validate on CPU!
[2018-12-13 09:56:55] GPU #0: 1442 MHz 17.38 H/W 48W 56C FAN 30%
[2018-12-13 09:57:29] GPU #0: result for nonce ac62f356 does not validate on CPU!
[2018-12-13 09:58:12] GPU #0: 1440 MHz 17.30 H/W 48W 56C FAN 30%


newbie
Activity: 14
Merit: 0
please add MTP algorithm https://i.imgur.com/mG5Kl9n.jpg
newbie
Activity: 23
Merit: 0
Hi guys

A new NVIDIA calculator was completed.
Look at what it is worth to mining

https://bitverzo.com/mining/nvidia
Pages:
Jump to: