cbuchner1 / ccminer

Christian Buchner's & Christian H.'s CUDA miner project
Other
273 stars 1.7k forks source link

Cuda 9 #66

Open kalleknast opened 6 years ago

kalleknast commented 6 years ago

keccak fails. I compiled with both CUDA 8.0 and 9.1 but got the same error.


./ccminer -a keccak -d 0 -o stratum+tcp://pool-us.smartcash.cc:3333 -u xxx.w0 -p x

*** ccminer 2.2.3 for nVidia GPUs by tpruvot@github ***
    Built with the nVidia CUDA Toolkit 9.1 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)

[2017-12-23 08:43:17] Starting on stratum+tcp://pool-us.smartcash.cc:3333
[2017-12-23 08:43:17] NVML GPU monitoring enabled.
[2017-12-23 08:43:17] 1 miner thread started, using 'keccak' algorithm.
[2017-12-23 08:43:17] Stratum difficulty set to 1024 (8.00000)
Cuda error in func 'scanhash_keccak256' at line 81 : unknown error.

The file is keccak256.cu and the line 81 is: CUDA_SAFE_CALL(cudaMalloc(&d_hash[thr_id], throughput * 64)); right below //really useful?

However, the KlausT ccminer works. It uses a different keccak256.cu