Post
Topic
Board Altcoin Discussion
Re: [XPM] Working on a GPU miner for Primecoin, new thread :)
by
spirale
on 10/09/2013, 15:47:14 UTC
I changed the config a bit and now I get:
Code:
Warning: unknown property "use_gpu" in configuration file.
I'm now mining primecoin!
GeneratePrimeTable() : setting nSievePercentage = 1, nSieveSize = 100000
Share thread started
GeneratePrimeTable() : prime table [1, 100000] generated with 9592 primes
Available CPU mining algorithms: hp7
Using default: hp7
Creating 4 CPU threads.
1...Warning: can't set thread priority
2...3...4...done
List of platforms:
    0    AMD Accelerated Parallel Processing
Using platform number 0

Using devices 0, 1, 2, 3
OpenCL device 0........
Compiling kernel... this could take up to 2 minutes.
"/tmp/OCLn5hmbH.cl", line 338: warning: nested comment is not allowed
      /*/
      ^

"/tmp/OCLn5hmbH.cl", line 672: error: too many arguments in function call
      uint16 a = Mul_512b_32b(FixedMultiplier,FermatNumbers[get_global_id(0)>>1],ORIGIN_LENGTH);
                                                                                 ^

1 error detected in the compilation of "/tmp/OCLn5hmbH.cl".

Frontend phase failed compilation.

2013-09-10 18:41:27 Error: Error building OpenCL program

primecoin.conf:
Code:
host 127.0.0.1
port ****
user ****
pass ****
 
protocol primecoin

worksize 256
threads_per_gpu 1
cpu_mining_threads 4
vectors 2
primecoin_address ****

use_gpu true