Bitcoin Forum
May 24, 2022, 11:44:59 AM *
News: Latest Bitcoin Core release: 23.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ... 123 »
  Print  
Author Topic: [ANN][GAP] Gapcoin - Prime Gap Search - New Math Algo - CPU / GPU - Zero Premine  (Read 285891 times)
q327K091
Legendary
*
Offline Offline

Activity: 1792
Merit: 1010


View Profile
November 07, 2014, 11:27:03 AM
 #541

Does anyone tried to compile GPU miner with NVIDIA CUDA SDK?

I have compiled it successfully but running miner fails:
$ gapminer -o http://mine3.gap.nonce-pool.com -p 4200 -u ***.*** -x *** -g
[2014-11-07 11:00:42] Server supports longpoll
[2014-11-07 11:00:42] Got new target: 13.0000000 @ 22.4775703
[2014-11-07 11:00:48] Found platform[0] name = NVIDIA CUDA
[2014-11-07 11:00:48] Found 1 device(s)
[2014-11-07 11:00:48] Compiling ...
[2014-11-07 11:00:48] Source: 205025 bytes
[2014-11-07 11:00:49] :4329:1: warning: type specifier missing, defaults to 'int'
sqrProductScan320(uint32_t *out, uint32_t *op)
^

and so on...
Code:
:4670:1: warning: control reaches end of non-void function
}
^
:4671:1: warning: type specifier missing, defaults to 'int'
sqrProductScan352(uint32_t *out, uint32_t *op)
^
:5068:1: warning: control reaches end of non-void function
}
^
:6687:35: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to96(result, limbs, q);
                                  ^~~~~
:3715:53: note: passing argument to parameter 'op1' here
void mulProductScan352to96(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                    ^
:6687:42: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to96(result, limbs, q);
                                         ^
:3715:68: note: passing argument to parameter 'op2' here
void mulProductScan352to96(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                   ^
:6689:36: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to128(result, limbs, q);
                                   ^~~~~
:3881:54: note: passing argument to parameter 'op1' here
void mulProductScan352to128(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:6689:43: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to128(result, limbs, q);
                                          ^
:3881:69: note: passing argument to parameter 'op2' here
void mulProductScan352to128(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:6691:36: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to192(result, limbs, q);
                                   ^~~~~
:4076:54: note: passing argument to parameter 'op1' here
void mulProductScan352to192(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:6691:43: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to192(result, limbs, q);
                                          ^
:4076:69: note: passing argument to parameter 'op2' here
void mulProductScan352to192(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:6708:16: error: too few elements in vector initialization (expected 4 elements, have 2)
  uint4 q[2] = {0, 0};
               ^
:6747:17: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      monSqr352(redcl, limbs, inverted);
                ^~~~~
:2025:26: note: passing argument to parameter 'op' here
void monSqr352(uint32_t *op, uint32_t *mod, uint32_t invm)
                         ^
:6747:24: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      monSqr352(redcl, limbs, inverted);
                       ^~~~~
:2025:40: note: passing argument to parameter 'mod' here
void monSqr352(uint32_t *op, uint32_t *mod, uint32_t invm)
                                       ^
:6749:33: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    redcify352(index, q, limbs, m, windowSize);
                                ^
:6674:27: note: passing argument to parameter 'result' here
                uint32_t *result,
                          ^
:6750:15: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul352(redcl, m, limbs, inverted);
              ^~~~~
:2669:26: note: passing argument to parameter 'op1' here
void monMul352(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                         ^
:6750:22: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul352(redcl, m, limbs, inverted);
                     ^
:2669:41: note: passing argument to parameter 'op2' here
void monMul352(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                                        ^
:6750:25: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul352(redcl, m, limbs, inverted);
                        ^~~~~
:2669:56: note: passing argument to parameter 'mod' here
void monMul352(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                                                       ^
:6755:15: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
  redcHalf352(redcl, limbs, inverted);
              ^~~~~
:3313:28: note: passing argument to parameter 'op' here
void redcHalf352(uint32_t *op, uint32_t *mod, uint32_t invm)
                           ^
:6755:22: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
  redcHalf352(redcl, limbs, inverted);
                     ^~~~~
:3313:42: note: passing argument to parameter 'mod' here
void redcHalf352(uint32_t *op, uint32_t *mod, uint32_t invm)
                                         ^
:6776:35: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to96(result, limbs, q);
                                  ^~~~~
:1458:53: note: passing argument to parameter 'op1' here
void mulProductScan320to96(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                    ^
:6776:42: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to96(result, limbs, q);
                                         ^
:1458:68: note: passing argument to parameter 'op2' here
void mulProductScan320to96(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                   ^
:6778:36: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to128(result, limbs, q);
                                   ^~~~~
:1611:54: note: passing argument to parameter 'op1' here
void mulProductScan320to128(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:6778:43: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to128(result, limbs, q);
                                          ^
:1611:69: note: passing argument to parameter 'op2' here
void mulProductScan320to128(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:6780:36: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to192(result, limbs, q);
                                   ^~~~~
:1791:54: note: passing argument to parameter 'op1' here
void mulProductScan320to192(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:6780:43: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to192(result, limbs, q);
                                          ^
:1791:69: note: passing argument to parameter 'op2' here
void mulProductScan320to192(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:6795:16: error: too few elements in vector initialization (expected 4 elements, have 2)
  uint4 q[2] = {0, 0};
               ^
:6834:17: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      monSqr320(redcl, limbs, inverted);
                ^~~~~
:20:26: note: passing argument to parameter 'op' here
void monSqr320(uint32_t *op, uint32_t *mod, uint32_t invm)
                         ^
:6834:24: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      monSqr320(redcl, limbs, inverted);
                       ^~~~~
:20:40: note: passing argument to parameter 'mod' here
void monSqr320(uint32_t *op, uint32_t *mod, uint32_t invm)
                                       ^
:6835:33: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    redcify320(index, q, limbs, m, windowSize);
                                ^
:6762:27: note: passing argument to parameter 'result' here
                uint32_t *result,
                          ^
:6836:15: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul320(redcl, m, limbs, inverted);
              ^~~~~
:566:26: note: passing argument to parameter 'op1' here
void monMul320(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                         ^
:6836:22: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul320(redcl, m, limbs, inverted);
                     ^
:566:41: note: passing argument to parameter 'op2' here
void monMul320(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                                        ^
:6836:25: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul320(redcl, m, limbs, inverted);
                        ^~~~~
:566:56: note: passing argument to parameter 'mod' here
void monMul320(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                                                       ^
:6841:15: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
  redcHalf320(redcl, limbs, inverted);
              ^~~~~
:1112:28: note: passing argument to parameter 'op' here
void redcHalf320(uint32_t *op, uint32_t *mod, uint32_t invm)
                           ^
:6841:22: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
  redcHalf320(redcl, limbs, inverted);
                     ^~~~~
:1112:42: note: passing argument to parameter 'mod' here
void redcHalf320(uint32_t *op, uint32_t *mod, uint32_t invm)
                                         ^
:6846:17: warning: passing 'uint4 const *' to parameter of type 'uint4 *' discards qualifiers
  FermatTest352((const uint4*)p, modpowl);
                ^~~~~~~~~~~~~~~
:6700:36: note: passing argument to parameter 'limbs' here
void FermatTest352(uint4 *restrict limbs,
                                   ^
:6860:17: warning: passing 'uint4 const *' to parameter of type 'uint4 *' discards qualifiers
  FermatTest320((const uint4*)p, modpowl);
                ^~~~~~~~~~~~~~~
:6789:36: note: passing argument to parameter 'limbs' here
void FermatTest320(uint4 *restrict limbs, uint4 *redcl)
                                   ^
:7038:25: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint const *' (aka 'unsigned int const *')
        result[id] = fermat352(p);
                               ^
:6844:28: note: passing argument to parameter 'p' here
bool fermat352(const uint* p) {
                           ^
:7052:26: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint const *' (aka 'unsigned int const *')
  result[id] = fermat320(p);
                         ^
:6858:28: note: passing argument to parameter 'p' here
bool fermat320(const uint* p) {
                           ^
:7109:25: warning: incompatible pointer types passing 'uint4 [6]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      sqrProductScan320(result, op1v);
                        ^~~~~~
:4329:29: note: passing argument to parameter 'out' here
sqrProductScan320(uint32_t *out, uint32_t *op)
                            ^
:7109:33: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      sqrProductScan320(result, op1v);
                                ^~~~
:4329:44: note: passing argument to parameter 'op' here
sqrProductScan320(uint32_t *out, uint32_t *op)
                                           ^
:7144:25: warning: incompatible pointer types passing 'uint4 [6]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      sqrProductScan352(result, op1v);
                        ^~~~~~
:4671:29: note: passing argument to parameter 'out' here
sqrProductScan352(uint32_t *out, uint32_t *op)
                            ^
:7144:33: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      sqrProductScan352(result, op1v);
                                ^~~~
:4671:44: note: passing argument to parameter 'op' here
sqrProductScan352(uint32_t *out, uint32_t *op)
                                           ^
:7191:30: warning: incompatible pointer types passing 'uint4 [6]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan320to320(result, op1v, op2v);
                             ^~~~~~
:5069:39: note: passing argument to parameter 'out' here
void mulProductScan320to320(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                      ^
:7191:38: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan320to320(result, op1v, op2v);
                                     ^~~~
:5069:54: note: passing argument to parameter 'op1' here
void mulProductScan320to320(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:7191:44: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan320to320(result, op1v, op2v);
                                           ^~~~
:5069:69: note: passing argument to parameter 'op2' here
void mulProductScan320to320(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:7236:30: warning: incompatible pointer types passing 'uint4 [6]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan352to352(result, op1v, op2v);
                             ^~~~~~
:5411:39: note: passing argument to parameter 'out' here
void mulProductScan352to352(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                      ^
:7236:38: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan352to352(result, op1v, op2v);
                                     ^~~~
:5411:54: note: passing argument to parameter 'op1' here
void mulProductScan352to352(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:7236:44: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan352to352(result, op1v, op2v);
                                           ^~~~
:5411:69: note: passing argument to parameter 'op2' here
void mulProductScan352to352(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^


I did (using CUDA 6.5) getting following error

[2014-11-07 06:25:45] Server supports longpoll
[2014-11-07 06:25:45] Got new target: 13.0000000 @ 22.4909167
[2014-11-07 06:25:50] Found platform[0] name = NVIDIA CUDA
[2014-11-07 06:25:50] ERROR: AMD Accelerated Parallel Processing found
[2014-11-07 06:25:50] OpenCL error: -34 at ./src/GPUFermat.cpp:390
[2014-11-07 06:25:50] OpenCL error: -34 at ./src/GPUFermat.cpp:390
[2014-11-07 06:25:50] OpenCL error: -36 at ./src/GPUFermat.cpp:396
[2014-11-07 06:25:50] OpenCL error: -36 at ./src/GPUFermat.cpp:396
[2014-11-07 06:25:50] clEnqueueNDRangeKernel error!
[2014-11-07 06:25:50] OpenCL error: -36 at ./src/GPUFermat.cpp:405
[2014-11-07 06:25:51] OpenCL error: -36 at ./src/GPUFermat.cpp:396
[2014-11-07 06:25:51] OpenCL error: -36 at ./src/GPUFermat.cpp:396
1653392699
Hero Member
*
Offline Offline

Posts: 1653392699

View Profile Personal Message (Offline)

Ignore
1653392699
Reply with quote  #2

1653392699
Report to moderator
1653392699
Hero Member
*
Offline Offline

Posts: 1653392699

View Profile Personal Message (Offline)

Ignore
1653392699
Reply with quote  #2

1653392699
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1653392699
Hero Member
*
Offline Offline

Posts: 1653392699

View Profile Personal Message (Offline)

Ignore
1653392699
Reply with quote  #2

1653392699
Report to moderator
1653392699
Hero Member
*
Offline Offline

Posts: 1653392699

View Profile Personal Message (Offline)

Ignore
1653392699
Reply with quote  #2

1653392699
Report to moderator
1653392699
Hero Member
*
Offline Offline

Posts: 1653392699

View Profile Personal Message (Offline)

Ignore
1653392699
Reply with quote  #2

1653392699
Report to moderator
bloodex
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 07, 2014, 11:33:13 AM
 #542

Does anyone tried to compile GPU miner with NVIDIA CUDA SDK?

I have compiled it successfully but running miner fails:
$ gapminer -o http://mine3.gap.nonce-pool.com -p 4200 -u ***.*** -x *** -g
[2014-11-07 11:00:42] Server supports longpoll
[2014-11-07 11:00:42] Got new target: 13.0000000 @ 22.4775703
[2014-11-07 11:00:48] Found platform[0] name = NVIDIA CUDA
[2014-11-07 11:00:48] Found 1 device(s)
[2014-11-07 11:00:48] Compiling ...
[2014-11-07 11:00:48] Source: 205025 bytes
[2014-11-07 11:00:49] :4329:1: warning: type specifier missing, defaults to 'int'
sqrProductScan320(uint32_t *out, uint32_t *op)
^

and so on...
Code:
:4670:1: warning: control reaches end of non-void function
}
^
:4671:1: warning: type specifier missing, defaults to 'int'
sqrProductScan352(uint32_t *out, uint32_t *op)
^
:5068:1: warning: control reaches end of non-void function
}
^
:6687:35: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to96(result, limbs, q);
                                  ^~~~~
:3715:53: note: passing argument to parameter 'op1' here
void mulProductScan352to96(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                    ^
:6687:42: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to96(result, limbs, q);
                                         ^
:3715:68: note: passing argument to parameter 'op2' here
void mulProductScan352to96(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                   ^
:6689:36: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to128(result, limbs, q);
                                   ^~~~~
:3881:54: note: passing argument to parameter 'op1' here
void mulProductScan352to128(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:6689:43: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to128(result, limbs, q);
                                          ^
:3881:69: note: passing argument to parameter 'op2' here
void mulProductScan352to128(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:6691:36: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to192(result, limbs, q);
                                   ^~~~~
:4076:54: note: passing argument to parameter 'op1' here
void mulProductScan352to192(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:6691:43: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to192(result, limbs, q);
                                          ^
:4076:69: note: passing argument to parameter 'op2' here
void mulProductScan352to192(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:6708:16: error: too few elements in vector initialization (expected 4 elements, have 2)
  uint4 q[2] = {0, 0};
               ^
:6747:17: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      monSqr352(redcl, limbs, inverted);
                ^~~~~
:2025:26: note: passing argument to parameter 'op' here
void monSqr352(uint32_t *op, uint32_t *mod, uint32_t invm)
                         ^
:6747:24: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      monSqr352(redcl, limbs, inverted);
                       ^~~~~
:2025:40: note: passing argument to parameter 'mod' here
void monSqr352(uint32_t *op, uint32_t *mod, uint32_t invm)
                                       ^
:6749:33: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    redcify352(index, q, limbs, m, windowSize);
                                ^
:6674:27: note: passing argument to parameter 'result' here
                uint32_t *result,
                          ^
:6750:15: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul352(redcl, m, limbs, inverted);
              ^~~~~
:2669:26: note: passing argument to parameter 'op1' here
void monMul352(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                         ^
:6750:22: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul352(redcl, m, limbs, inverted);
                     ^
:2669:41: note: passing argument to parameter 'op2' here
void monMul352(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                                        ^
:6750:25: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul352(redcl, m, limbs, inverted);
                        ^~~~~
:2669:56: note: passing argument to parameter 'mod' here
void monMul352(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                                                       ^
:6755:15: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
  redcHalf352(redcl, limbs, inverted);
              ^~~~~
:3313:28: note: passing argument to parameter 'op' here
void redcHalf352(uint32_t *op, uint32_t *mod, uint32_t invm)
                           ^
:6755:22: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
  redcHalf352(redcl, limbs, inverted);
                     ^~~~~
:3313:42: note: passing argument to parameter 'mod' here
void redcHalf352(uint32_t *op, uint32_t *mod, uint32_t invm)
                                         ^
:6776:35: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to96(result, limbs, q);
                                  ^~~~~
:1458:53: note: passing argument to parameter 'op1' here
void mulProductScan320to96(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                    ^
:6776:42: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to96(result, limbs, q);
                                         ^
:1458:68: note: passing argument to parameter 'op2' here
void mulProductScan320to96(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                   ^
:6778:36: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to128(result, limbs, q);
                                   ^~~~~
:1611:54: note: passing argument to parameter 'op1' here
void mulProductScan320to128(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:6778:43: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to128(result, limbs, q);
                                          ^
:1611:69: note: passing argument to parameter 'op2' here
void mulProductScan320to128(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:6780:36: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to192(result, limbs, q);
                                   ^~~~~
:1791:54: note: passing argument to parameter 'op1' here
void mulProductScan320to192(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:6780:43: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to192(result, limbs, q);
                                          ^
:1791:69: note: passing argument to parameter 'op2' here
void mulProductScan320to192(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:6795:16: error: too few elements in vector initialization (expected 4 elements, have 2)
  uint4 q[2] = {0, 0};
               ^
:6834:17: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      monSqr320(redcl, limbs, inverted);
                ^~~~~
:20:26: note: passing argument to parameter 'op' here
void monSqr320(uint32_t *op, uint32_t *mod, uint32_t invm)
                         ^
:6834:24: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      monSqr320(redcl, limbs, inverted);
                       ^~~~~
:20:40: note: passing argument to parameter 'mod' here
void monSqr320(uint32_t *op, uint32_t *mod, uint32_t invm)
                                       ^
:6835:33: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    redcify320(index, q, limbs, m, windowSize);
                                ^
:6762:27: note: passing argument to parameter 'result' here
                uint32_t *result,
                          ^
:6836:15: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul320(redcl, m, limbs, inverted);
              ^~~~~
:566:26: note: passing argument to parameter 'op1' here
void monMul320(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                         ^
:6836:22: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul320(redcl, m, limbs, inverted);
                     ^
:566:41: note: passing argument to parameter 'op2' here
void monMul320(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                                        ^
:6836:25: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul320(redcl, m, limbs, inverted);
                        ^~~~~
:566:56: note: passing argument to parameter 'mod' here
void monMul320(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                                                       ^
:6841:15: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
  redcHalf320(redcl, limbs, inverted);
              ^~~~~
:1112:28: note: passing argument to parameter 'op' here
void redcHalf320(uint32_t *op, uint32_t *mod, uint32_t invm)
                           ^
:6841:22: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
  redcHalf320(redcl, limbs, inverted);
                     ^~~~~
:1112:42: note: passing argument to parameter 'mod' here
void redcHalf320(uint32_t *op, uint32_t *mod, uint32_t invm)
                                         ^
:6846:17: warning: passing 'uint4 const *' to parameter of type 'uint4 *' discards qualifiers
  FermatTest352((const uint4*)p, modpowl);
                ^~~~~~~~~~~~~~~
:6700:36: note: passing argument to parameter 'limbs' here
void FermatTest352(uint4 *restrict limbs,
                                   ^
:6860:17: warning: passing 'uint4 const *' to parameter of type 'uint4 *' discards qualifiers
  FermatTest320((const uint4*)p, modpowl);
                ^~~~~~~~~~~~~~~
:6789:36: note: passing argument to parameter 'limbs' here
void FermatTest320(uint4 *restrict limbs, uint4 *redcl)
                                   ^
:7038:25: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint const *' (aka 'unsigned int const *')
        result[id] = fermat352(p);
                               ^
:6844:28: note: passing argument to parameter 'p' here
bool fermat352(const uint* p) {
                           ^
:7052:26: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint const *' (aka 'unsigned int const *')
  result[id] = fermat320(p);
                         ^
:6858:28: note: passing argument to parameter 'p' here
bool fermat320(const uint* p) {
                           ^
:7109:25: warning: incompatible pointer types passing 'uint4 [6]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      sqrProductScan320(result, op1v);
                        ^~~~~~
:4329:29: note: passing argument to parameter 'out' here
sqrProductScan320(uint32_t *out, uint32_t *op)
                            ^
:7109:33: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      sqrProductScan320(result, op1v);
                                ^~~~
:4329:44: note: passing argument to parameter 'op' here
sqrProductScan320(uint32_t *out, uint32_t *op)
                                           ^
:7144:25: warning: incompatible pointer types passing 'uint4 [6]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      sqrProductScan352(result, op1v);
                        ^~~~~~
:4671:29: note: passing argument to parameter 'out' here
sqrProductScan352(uint32_t *out, uint32_t *op)
                            ^
:7144:33: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      sqrProductScan352(result, op1v);
                                ^~~~
:4671:44: note: passing argument to parameter 'op' here
sqrProductScan352(uint32_t *out, uint32_t *op)
                                           ^
:7191:30: warning: incompatible pointer types passing 'uint4 [6]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan320to320(result, op1v, op2v);
                             ^~~~~~
:5069:39: note: passing argument to parameter 'out' here
void mulProductScan320to320(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                      ^
:7191:38: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan320to320(result, op1v, op2v);
                                     ^~~~
:5069:54: note: passing argument to parameter 'op1' here
void mulProductScan320to320(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:7191:44: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan320to320(result, op1v, op2v);
                                           ^~~~
:5069:69: note: passing argument to parameter 'op2' here
void mulProductScan320to320(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:7236:30: warning: incompatible pointer types passing 'uint4 [6]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan352to352(result, op1v, op2v);
                             ^~~~~~
:5411:39: note: passing argument to parameter 'out' here
void mulProductScan352to352(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                      ^
:7236:38: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan352to352(result, op1v, op2v);
                                     ^~~~
:5411:54: note: passing argument to parameter 'op1' here
void mulProductScan352to352(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:7236:44: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan352to352(result, op1v, op2v);
                                           ^~~~
:5411:69: note: passing argument to parameter 'op2' here
void mulProductScan352to352(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^


I did (using CUDA 6.5) getting following error

[2014-11-07 06:25:45] Server supports longpoll
[2014-11-07 06:25:45] Got new target: 13.0000000 @ 22.4909167
[2014-11-07 06:25:50] Found platform[0] name = NVIDIA CUDA
[2014-11-07 06:25:50] ERROR: AMD Accelerated Parallel Processing found
[2014-11-07 06:25:50] OpenCL error: -34 at ./src/GPUFermat.cpp:390
[2014-11-07 06:25:50] OpenCL error: -34 at ./src/GPUFermat.cpp:390
[2014-11-07 06:25:50] OpenCL error: -36 at ./src/GPUFermat.cpp:396
[2014-11-07 06:25:50] OpenCL error: -36 at ./src/GPUFermat.cpp:396
[2014-11-07 06:25:50] clEnqueueNDRangeKernel error!
[2014-11-07 06:25:50] OpenCL error: -36 at ./src/GPUFermat.cpp:405
[2014-11-07 06:25:51] OpenCL error: -36 at ./src/GPUFermat.cpp:396
[2014-11-07 06:25:51] OpenCL error: -36 at ./src/GPUFermat.cpp:396

You should edit file src/GPUFermat.cpp:
const char *platformId = "amd" replace with const char *platformId = "nvidia"
q327K091
Legendary
*
Offline Offline

Activity: 1792
Merit: 1010


View Profile
November 07, 2014, 11:40:31 AM
Last edit: November 07, 2014, 11:56:01 AM by q327K091
 #543

Does anyone tried to compile GPU miner with NVIDIA CUDA SDK?

I have compiled it successfully but running miner fails:
$ gapminer -o http://mine3.gap.nonce-pool.com -p 4200 -u ***.*** -x *** -g
[2014-11-07 11:00:42] Server supports longpoll
[2014-11-07 11:00:42] Got new target: 13.0000000 @ 22.4775703
[2014-11-07 11:00:48] Found platform[0] name = NVIDIA CUDA
[2014-11-07 11:00:48] Found 1 device(s)
[2014-11-07 11:00:48] Compiling ...
[2014-11-07 11:00:48] Source: 205025 bytes
[2014-11-07 11:00:49] :4329:1: warning: type specifier missing, defaults to 'int'
sqrProductScan320(uint32_t *out, uint32_t *op)
^

and so on...
Code:
:4670:1: warning: control reaches end of non-void function
}
^
:4671:1: warning: type specifier missing, defaults to 'int'
sqrProductScan352(uint32_t *out, uint32_t *op)
^
:5068:1: warning: control reaches end of non-void function
}
^
:6687:35: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to96(result, limbs, q);
                                  ^~~~~
:3715:53: note: passing argument to parameter 'op1' here
void mulProductScan352to96(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                    ^
:6687:42: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to96(result, limbs, q);
                                         ^
:3715:68: note: passing argument to parameter 'op2' here
void mulProductScan352to96(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                   ^
:6689:36: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to128(result, limbs, q);
                                   ^~~~~
:3881:54: note: passing argument to parameter 'op1' here
void mulProductScan352to128(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:6689:43: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to128(result, limbs, q);
                                          ^
:3881:69: note: passing argument to parameter 'op2' here
void mulProductScan352to128(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:6691:36: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to192(result, limbs, q);
                                   ^~~~~
:4076:54: note: passing argument to parameter 'op1' here
void mulProductScan352to192(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:6691:43: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to192(result, limbs, q);
                                          ^
:4076:69: note: passing argument to parameter 'op2' here
void mulProductScan352to192(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:6708:16: error: too few elements in vector initialization (expected 4 elements, have 2)
  uint4 q[2] = {0, 0};
               ^
:6747:17: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      monSqr352(redcl, limbs, inverted);
                ^~~~~
:2025:26: note: passing argument to parameter 'op' here
void monSqr352(uint32_t *op, uint32_t *mod, uint32_t invm)
                         ^
:6747:24: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      monSqr352(redcl, limbs, inverted);
                       ^~~~~
:2025:40: note: passing argument to parameter 'mod' here
void monSqr352(uint32_t *op, uint32_t *mod, uint32_t invm)
                                       ^
:6749:33: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    redcify352(index, q, limbs, m, windowSize);
                                ^
:6674:27: note: passing argument to parameter 'result' here
                uint32_t *result,
                          ^
:6750:15: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul352(redcl, m, limbs, inverted);
              ^~~~~
:2669:26: note: passing argument to parameter 'op1' here
void monMul352(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                         ^
:6750:22: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul352(redcl, m, limbs, inverted);
                     ^
:2669:41: note: passing argument to parameter 'op2' here
void monMul352(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                                        ^
:6750:25: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul352(redcl, m, limbs, inverted);
                        ^~~~~
:2669:56: note: passing argument to parameter 'mod' here
void monMul352(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                                                       ^
:6755:15: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
  redcHalf352(redcl, limbs, inverted);
              ^~~~~
:3313:28: note: passing argument to parameter 'op' here
void redcHalf352(uint32_t *op, uint32_t *mod, uint32_t invm)
                           ^
:6755:22: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
  redcHalf352(redcl, limbs, inverted);
                     ^~~~~
:3313:42: note: passing argument to parameter 'mod' here
void redcHalf352(uint32_t *op, uint32_t *mod, uint32_t invm)
                                         ^
:6776:35: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to96(result, limbs, q);
                                  ^~~~~
:1458:53: note: passing argument to parameter 'op1' here
void mulProductScan320to96(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                    ^
:6776:42: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to96(result, limbs, q);
                                         ^
:1458:68: note: passing argument to parameter 'op2' here
void mulProductScan320to96(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                   ^
:6778:36: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to128(result, limbs, q);
                                   ^~~~~
:1611:54: note: passing argument to parameter 'op1' here
void mulProductScan320to128(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:6778:43: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to128(result, limbs, q);
                                          ^
:1611:69: note: passing argument to parameter 'op2' here
void mulProductScan320to128(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:6780:36: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to192(result, limbs, q);
                                   ^~~~~
:1791:54: note: passing argument to parameter 'op1' here
void mulProductScan320to192(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:6780:43: warning: incompatible pointer types passing 'uint4 [2]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan320to192(result, limbs, q);
                                          ^
:1791:69: note: passing argument to parameter 'op2' here
void mulProductScan320to192(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:6795:16: error: too few elements in vector initialization (expected 4 elements, have 2)
  uint4 q[2] = {0, 0};
               ^
:6834:17: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      monSqr320(redcl, limbs, inverted);
                ^~~~~
:20:26: note: passing argument to parameter 'op' here
void monSqr320(uint32_t *op, uint32_t *mod, uint32_t invm)
                         ^
:6834:24: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      monSqr320(redcl, limbs, inverted);
                       ^~~~~
:20:40: note: passing argument to parameter 'mod' here
void monSqr320(uint32_t *op, uint32_t *mod, uint32_t invm)
                                       ^
:6835:33: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    redcify320(index, q, limbs, m, windowSize);
                                ^
:6762:27: note: passing argument to parameter 'result' here
                uint32_t *result,
                          ^
:6836:15: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul320(redcl, m, limbs, inverted);
              ^~~~~
:566:26: note: passing argument to parameter 'op1' here
void monMul320(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                         ^
:6836:22: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul320(redcl, m, limbs, inverted);
                     ^
:566:41: note: passing argument to parameter 'op2' here
void monMul320(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                                        ^
:6836:25: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    monMul320(redcl, m, limbs, inverted);
                        ^~~~~
:566:56: note: passing argument to parameter 'mod' here
void monMul320(uint32_t *op1, uint32_t *op2, uint32_t *mod, uint32_t invm)
                                                       ^
:6841:15: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
  redcHalf320(redcl, limbs, inverted);
              ^~~~~
:1112:28: note: passing argument to parameter 'op' here
void redcHalf320(uint32_t *op, uint32_t *mod, uint32_t invm)
                           ^
:6841:22: warning: incompatible pointer types passing 'uint4 *restrict' to parameter of type 'uint32_t *' (aka 'unsigned int *')
  redcHalf320(redcl, limbs, inverted);
                     ^~~~~
:1112:42: note: passing argument to parameter 'mod' here
void redcHalf320(uint32_t *op, uint32_t *mod, uint32_t invm)
                                         ^
:6846:17: warning: passing 'uint4 const *' to parameter of type 'uint4 *' discards qualifiers
  FermatTest352((const uint4*)p, modpowl);
                ^~~~~~~~~~~~~~~
:6700:36: note: passing argument to parameter 'limbs' here
void FermatTest352(uint4 *restrict limbs,
                                   ^
:6860:17: warning: passing 'uint4 const *' to parameter of type 'uint4 *' discards qualifiers
  FermatTest320((const uint4*)p, modpowl);
                ^~~~~~~~~~~~~~~
:6789:36: note: passing argument to parameter 'limbs' here
void FermatTest320(uint4 *restrict limbs, uint4 *redcl)
                                   ^
:7038:25: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint const *' (aka 'unsigned int const *')
        result[id] = fermat352(p);
                               ^
:6844:28: note: passing argument to parameter 'p' here
bool fermat352(const uint* p) {
                           ^
:7052:26: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint const *' (aka 'unsigned int const *')
  result[id] = fermat320(p);
                         ^
:6858:28: note: passing argument to parameter 'p' here
bool fermat320(const uint* p) {
                           ^
:7109:25: warning: incompatible pointer types passing 'uint4 [6]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      sqrProductScan320(result, op1v);
                        ^~~~~~
:4329:29: note: passing argument to parameter 'out' here
sqrProductScan320(uint32_t *out, uint32_t *op)
                            ^
:7109:33: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      sqrProductScan320(result, op1v);
                                ^~~~
:4329:44: note: passing argument to parameter 'op' here
sqrProductScan320(uint32_t *out, uint32_t *op)
                                           ^
:7144:25: warning: incompatible pointer types passing 'uint4 [6]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      sqrProductScan352(result, op1v);
                        ^~~~~~
:4671:29: note: passing argument to parameter 'out' here
sqrProductScan352(uint32_t *out, uint32_t *op)
                            ^
:7144:33: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      sqrProductScan352(result, op1v);
                                ^~~~
:4671:44: note: passing argument to parameter 'op' here
sqrProductScan352(uint32_t *out, uint32_t *op)
                                           ^
:7191:30: warning: incompatible pointer types passing 'uint4 [6]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan320to320(result, op1v, op2v);
                             ^~~~~~
:5069:39: note: passing argument to parameter 'out' here
void mulProductScan320to320(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                      ^
:7191:38: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan320to320(result, op1v, op2v);
                                     ^~~~
:5069:54: note: passing argument to parameter 'op1' here
void mulProductScan320to320(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:7191:44: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan320to320(result, op1v, op2v);
                                           ^~~~
:5069:69: note: passing argument to parameter 'op2' here
void mulProductScan320to320(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^
:7236:30: warning: incompatible pointer types passing 'uint4 [6]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan352to352(result, op1v, op2v);
                             ^~~~~~
:5411:39: note: passing argument to parameter 'out' here
void mulProductScan352to352(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                      ^
:7236:38: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan352to352(result, op1v, op2v);
                                     ^~~~
:5411:54: note: passing argument to parameter 'op1' here
void mulProductScan352to352(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                     ^
:7236:44: warning: incompatible pointer types passing 'uint4 [3]' to parameter of type 'uint32_t *' (aka 'unsigned int *')
      mulProductScan352to352(result, op1v, op2v);
                                           ^~~~
:5411:69: note: passing argument to parameter 'op2' here
void mulProductScan352to352(uint32_t *out, uint32_t *op1, uint32_t *op2)
                                                                    ^


I did (using CUDA 6.5) getting following error

[2014-11-07 06:25:45] Server supports longpoll
[2014-11-07 06:25:45] Got new target: 13.0000000 @ 22.4909167
[2014-11-07 06:25:50] Found platform[0] name = NVIDIA CUDA
[2014-11-07 06:25:50] ERROR: AMD Accelerated Parallel Processing found
[2014-11-07 06:25:50] OpenCL error: -34 at ./src/GPUFermat.cpp:390
[2014-11-07 06:25:50] OpenCL error: -34 at ./src/GPUFermat.cpp:390
[2014-11-07 06:25:50] OpenCL error: -36 at ./src/GPUFermat.cpp:396
[2014-11-07 06:25:50] OpenCL error: -36 at ./src/GPUFermat.cpp:396
[2014-11-07 06:25:50] clEnqueueNDRangeKernel error!
[2014-11-07 06:25:50] OpenCL error: -36 at ./src/GPUFermat.cpp:405
[2014-11-07 06:25:51] OpenCL error: -36 at ./src/GPUFermat.cpp:396
[2014-11-07 06:25:51] OpenCL error: -36 at ./src/GPUFermat.cpp:396

You should edit file src/GPUFermat.cpp:
const char *platformId = "amd" replace with const char *platformId = "nvidia"

done, next "Source files not found or empty" error (I did copy *.cl from gpu folder to bin...) bin has: benchmarks.cl  fermat.cl  gapminer  procs.cl

I think I see it.. it has to be off bin folder :as in bin/gpu ... need to re-learn hacking

[2014-11-07 06:39:09] Server supports longpoll
[2014-11-07 06:39:09] Got new target: 13.0000000 @ 22.4847092
[2014-11-07 06:39:15] Found platform[0] name = NVIDIA CUDA
[2014-11-07 06:39:15] Found 3 device(s)
[2014-11-07 06:39:15] Compiling ...
[2014-11-07 06:39:15] Source: 0 bytes
[2014-11-07 06:39:15] Source files not found or empty

----------------------------------------------------------------


OK... same error as person reporting it.. no go on NVDIA... at the moment...

it really is only one OPENCL fatal error:

error: too few elements in vector initialization (expected 4 elements, have 2)
  uint4 q[2] = {0, 0};"

bin]$ ./run-gapminer
[2014-11-07 06:47:57] Server supports longpoll
[2014-11-07 06:47:57] Got new target: 13.0000000 @ 22.4895000
[2014-11-07 06:48:02] Found platform[0] name = NVIDIA CUDA
[2014-11-07 06:48:02] Found 3 device(s)
[2014-11-07 06:48:02] Compiling ...
[2014-11-07 06:48:02] Source: 205025 bytes
[2014-11-07 06:48:03] :4329:1: warning: type specifier missing, defaults to 'int'
sqrProductScan320(uint32_t *out, uint32_t *op)
^
:4670:1: warning: control reaches end of non-void function
}
^
:4671:1: warning: type specifier missing, defaults to 'int'
sqrProductScan352(uint32_t *out, uint32_t *op)
^
:5068:1: warning: control reaches end of non-void function
}
^
:6687:35: warning: incompatible pointer types passing 'uint4 *' to parameter of type 'uint32_t *' (aka 'unsigned int *')
    mulProductScan352to96(result, limbs, q);
                                  ^~~~~
:3715:53: note: passing argument to parameter 'op1' here
void mulProductScan352to96(uint32_t *out, uint32_t *op1, uint32_t *op2)
q327K091
Legendary
*
Offline Offline

Activity: 1792
Merit: 1010


View Profile
November 07, 2014, 12:07:35 PM
 #544

ok got passed OpenCL compiler error, now this

( replaced

// uint4 q[2] = {0, 0};
    uint4 q[2] = {0, 0, 0, 0};
)

[2014-11-07 07:05:28] Server supports longpoll
[2014-11-07 07:05:28] Got new target: 13.0000000 @ 22.4320864
[2014-11-07 07:05:33] Found platform[0] name = NVIDIA CUDA
[2014-11-07 07:05:33] Found 3 device(s)
[2014-11-07 07:05:33] Compiling ...
[2014-11-07 07:05:33] Source: 205100 bytes
[2014-11-07 07:05:36] pps: -2147483648 / -2147483648  10g/h -2147483648 / -2147483648  15g/h -2147483648 / -2147483648
[2014-11-07 07:05:42] Compiled kernel binary size = 969615 bytes
[2014-11-07 07:05:42] Loaded kernel binary size = 969615 bytes
[2014-11-07 07:05:42] Using GPU 0 [GeForce GTX 750 Ti]: which has 5 CUs
[2014-11-07 07:05:42] clWaitForEvents error -9999!
[2014-11-07 07:05:42] OpenCL error: -5 at ./src/GPUFermat.cpp:406
[2014-11-07 07:05:42] OpenCL error: -5 at ./src/GPUFermat.cpp:397
[2014-11-07 07:05:42] OpenCL error: -5 at ./src/GPUFermat.cpp:397
BitcoinFX
Legendary
*
Offline Offline

Activity: 2632
Merit: 1663


https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF


View Profile WWW
November 07, 2014, 12:25:30 PM
 #545

Got the GPU miner working with a AMD Radeon R7 250 2GB DDR3 on Ubuntu Linux.

Its doing around 40000 pps (including the dual core CPU) - just need to disable one (or both) of the CPU cores and get the GPU overclocked. Sure that the GPU can do a lot more pps overclocked - without the 100% CPU clogging the processes.

Having previously installed both bfgminer and sph_miner prerequisites on my testing box - I found I was missing the following packages:

sudo apt-get install libgmp-dev

sudo apt-get install libmpfr-dev

sudo apt-get install libboost-all-dev

sudo apt-get install libglu-dev

"Bitcoin OG" 1JXFXUBGs2ZtEDAQMdZ3tkCKo38nT2XSEp | Bitcoin logo™ Enforcer? | Bitcoin is BTC | CSW is NOT Satoshi Nakamoto | I Mine BTC, LTC, ZEC, XMR and GAP | BTC on Tor addnodes Project | Media enquiries : Wu Ming | Enjoy The Money Machine | "You cannot compete with Open Source" and "Cryptography != Banana" | BSV and BCH are COUNTERFEIT.
murders10
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
November 07, 2014, 12:41:07 PM
 #546

Got the GPU miner working with a AMD Radeon R7 250 2GB DDR3 on Ubuntu Linux.

Its doing around 40000 pps (including the dual core CPU) - just need to disable one (or both) of the CPU cores and get the GPU overclocked. Sure that the GPU can do a lot more pps overclocked - without the 100% CPU clogging the processes.

Having previously installed both bfgminer and sph_miner prerequisites on my testing box - I found I was missing the following packages:

sudo apt-get install libgmp-dev

sudo apt-get install libmpfr-dev

sudo apt-get install libboost-all-dev

sudo apt-get install libglu-dev

can u share it please
nonce-pool
Full Member
***
Offline Offline

Activity: 149
Merit: 100


View Profile
November 07, 2014, 05:34:48 PM
 #547

We have merged the new gpu miner changes into the gpu-miner branch of our source. We urge gpu miners to use the stratum port which has vardiff enabled.

This seems to increase the gpu miners pps a bit with a higher share difficulty.
djm34
Legendary
*
Offline Offline

Activity: 1400
Merit: 1047


View Profile WWW
November 07, 2014, 05:55:38 PM
 #548

ok got passed OpenCL compiler error, now this

( replaced

// uint4 q[2] = {0, 0};
    uint4 q[2] = {0, 0, 0, 0};
)

yep that's experimental  Grin initializing uint4 as uint2 is indeed experimental
(however it isn't obvious that opencl and cuda use the same definition for these structures...)

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
drumingspz
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
November 07, 2014, 06:36:30 PM
Last edit: November 07, 2014, 06:50:32 PM by drumingspz
 #549

OK, so I got my 1st gpu mining away  Grin - now I'm trying to launch a 2nd instance for the 2nd gpu to begin its work and am getting this error:

Code:
[2014-11-07 10:34:15] Found platform[0] name = AMD Accelerated Parallel Processing
[2014-11-07 10:34:15] Found 4 device(s)
[2014-11-07 10:34:15] Compiling ...
[2014-11-07 10:34:15] Source: 205025 bytes
[2014-11-07 10:34:21] pps: -2147483648 / -2147483648  10g/h -2147483648 / -2147483648  15g/h -2147483648 / -2147483648
[2014-11-07 10:34:25] Compiled kernel binary size = 903936 bytes
[2014-11-07 10:34:25] ERROR: kernel.bin not found
[2014-11-07 10:34:25] OpenCL error: -36 at ./src/GPUFermat.cpp:392
[2014-11-07 10:34:25] OpenCL error: -36 at ./src/GPUFermat.cpp:392
[2014-11-07 10:34:25] clEnqueueNDRangeKernel error!

It seems that the 1st instance has a lock on the kernel.bin file? Anybody get more than 1 GPU working at a time yet?


[EDIT] OK I created a separate directory 'Gapminer1' and copied gapminer and the gpu directory into it.  I can now get a 2nd instance running, but I cannot specify which GPU to use and it starts mining on GPU0 - which is already being used.  I tried adding '-g 1' to the end of my params but no luck.  Has anybody been able to get more than 1 GPU running?




░░░░░░░▄▄█████▄▄▄░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░▄██████████████▄░░░░░░░░░░░░░░░░░░░▄██████▄▄░░░░░░
░░▄██████████████████▄░░░░░░░░░░░░░░▄████████████▄░░░░
██████████████████████▄░░░░░░░░░░▄████████████████▄░░
▄███████████████████████▄░░░░░░░▄████████████████████
██████████████████████████▄░░░▄███████████████████████
█████████████████████████████████████████████████████▀
█████████████████████████▀░░░░░▀████████████████████▀
██████████████████████▀░░░░░░░░░▀█████████████████▀░░
░░███████████████████▀░░░░░░░░░░░░░░▀████████████▀░░░░
░░░▀███████████████▀░░░░░░░░░░░░░░░░░░▀▀██████▀▀░░░░░░
░░░░░░▀█████████▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
mira  ▀▀
██
 
██
   
██
   
██
   
██
   
██
▄▄
Cryptocurrencies have never been so easy
▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬
Facebook LinkedIn Twitter White Paper Google+
▀▀
██
 
██
   
██
   
██
   
██
   
██
▄▄
 
[/center]
qwep
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000



View Profile
November 07, 2014, 06:48:41 PM
 #550

yes somebody compile under win
altpooler
Full Member
***
Offline Offline

Activity: 122
Merit: 100

Developer & Pool Operator | AltPooler.com


View Profile
November 07, 2014, 06:49:26 PM
 #551

Radeon 7970 getting 320,000 PPS with the gpu miner  Cool

GlobalBoost-Y (BSTY) Pool: http://bsty.altpooler.com
Gapcoin - The largest, decentralized prime gap search https://bitcointalk.org/index.php?topic=822498.0

Beta launch of our new mining pool is currently scheduled for January 5, 2015.

We will feature Unitus merged mining for the yescrypt algorithm upon launch.

If you are a CPU miner and would like to help test our yescrypt merged mining implementation, please send me a PM for stratum connection details.
djm34
Legendary
*
Offline Offline

Activity: 1400
Merit: 1047


View Profile WWW
November 07, 2014, 06:49:50 PM
 #552

OK, so I got my 1st gpu mining away  Grin - now I'm trying to launch a 2nd instance for the 2nd gpu to begin its work and am getting this error:

Code:
[2014-11-07 10:34:15] Found platform[0] name = AMD Accelerated Parallel Processing
[2014-11-07 10:34:15] Found 4 device(s)
[2014-11-07 10:34:15] Compiling ...
[2014-11-07 10:34:15] Source: 205025 bytes
[2014-11-07 10:34:21] pps: -2147483648 / -2147483648  10g/h -2147483648 / -2147483648  15g/h -2147483648 / -2147483648
[2014-11-07 10:34:25] Compiled kernel binary size = 903936 bytes
[2014-11-07 10:34:25] ERROR: kernel.bin not found
[2014-11-07 10:34:25] OpenCL error: -36 at ./src/GPUFermat.cpp:392
[2014-11-07 10:34:25] OpenCL error: -36 at ./src/GPUFermat.cpp:392
[2014-11-07 10:34:25] clEnqueueNDRangeKernel error!

It seems that the 1st instance has a lock on the kernel.bin file? Anybody get more than 1 GPU working at a time yet?
why not creating the 2nd instance in a second directory ?

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
drumingspz
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
November 07, 2014, 06:51:10 PM
 #553

OK, so I got my 1st gpu mining away  Grin - now I'm trying to launch a 2nd instance for the 2nd gpu to begin its work and am getting this error:

Code:
[2014-11-07 10:34:15] Found platform[0] name = AMD Accelerated Parallel Processing
[2014-11-07 10:34:15] Found 4 device(s)
[2014-11-07 10:34:15] Compiling ...
[2014-11-07 10:34:15] Source: 205025 bytes
[2014-11-07 10:34:21] pps: -2147483648 / -2147483648  10g/h -2147483648 / -2147483648  15g/h -2147483648 / -2147483648
[2014-11-07 10:34:25] Compiled kernel binary size = 903936 bytes
[2014-11-07 10:34:25] ERROR: kernel.bin not found
[2014-11-07 10:34:25] OpenCL error: -36 at ./src/GPUFermat.cpp:392
[2014-11-07 10:34:25] OpenCL error: -36 at ./src/GPUFermat.cpp:392
[2014-11-07 10:34:25] clEnqueueNDRangeKernel error!

It seems that the 1st instance has a lock on the kernel.bin file? Anybody get more than 1 GPU working at a time yet?
why not creating the 2nd instance in a second directory ?

Just did - see my edit Wink - more issues now




░░░░░░░▄▄█████▄▄▄░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░▄██████████████▄░░░░░░░░░░░░░░░░░░░▄██████▄▄░░░░░░
░░▄██████████████████▄░░░░░░░░░░░░░░▄████████████▄░░░░
██████████████████████▄░░░░░░░░░░▄████████████████▄░░
▄███████████████████████▄░░░░░░░▄████████████████████
██████████████████████████▄░░░▄███████████████████████
█████████████████████████████████████████████████████▀
█████████████████████████▀░░░░░▀████████████████████▀
██████████████████████▀░░░░░░░░░▀█████████████████▀░░
░░███████████████████▀░░░░░░░░░░░░░░▀████████████▀░░░░
░░░▀███████████████▀░░░░░░░░░░░░░░░░░░▀▀██████▀▀░░░░░░
░░░░░░▀█████████▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
mira  ▀▀
██
 
██
   
██
   
██
   
██
   
██
▄▄
Cryptocurrencies have never been so easy
▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬
Facebook LinkedIn Twitter White Paper Google+
▀▀
██
 
██
   
██
   
██
   
██
   
██
▄▄
 
[/center]
drumingspz
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
November 07, 2014, 06:56:31 PM
Last edit: November 07, 2014, 07:12:38 PM by drumingspz
 #554

Radeon 7970 getting 320,000 PPS with the gpu miner  Cool

Wow, I'm only getting 105,000 - 123,000 with my 7970.  Are you OCing this?  What does your startup script look like?

[EDIT] - Now using the stratum miner and up to ~130,000 PPS - still nowhere near your 320K   Embarrassed




░░░░░░░▄▄█████▄▄▄░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░▄██████████████▄░░░░░░░░░░░░░░░░░░░▄██████▄▄░░░░░░
░░▄██████████████████▄░░░░░░░░░░░░░░▄████████████▄░░░░
██████████████████████▄░░░░░░░░░░▄████████████████▄░░
▄███████████████████████▄░░░░░░░▄████████████████████
██████████████████████████▄░░░▄███████████████████████
█████████████████████████████████████████████████████▀
█████████████████████████▀░░░░░▀████████████████████▀
██████████████████████▀░░░░░░░░░▀█████████████████▀░░
░░███████████████████▀░░░░░░░░░░░░░░▀████████████▀░░░░
░░░▀███████████████▀░░░░░░░░░░░░░░░░░░▀▀██████▀▀░░░░░░
░░░░░░▀█████████▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
mira  ▀▀
██
 
██
   
██
   
██
   
██
   
██
▄▄
Cryptocurrencies have never been so easy
▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬
Facebook LinkedIn Twitter White Paper Google+
▀▀
██
 
██
   
██
   
██
   
██
   
██
▄▄
 
[/center]
go6ooo1212
Legendary
*
Offline Offline

Activity: 1512
Merit: 1000


quarkchain.io


View Profile
November 07, 2014, 07:15:00 PM
 #555

Sadly the price has fallen down ,because of GPU mining
djm34
Legendary
*
Offline Offline

Activity: 1400
Merit: 1047


View Profile WWW
November 07, 2014, 07:57:15 PM
 #556

Sadly the price has fallen down ,because of GPU mining
lol 2 hours after release... that was fast  Grin

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
muchoman
Sr. Member
****
Offline Offline

Activity: 465
Merit: 250


View Profile
November 07, 2014, 08:00:41 PM
 #557

Windows miner anybody?
j0nn9
Full Member
***
Offline Offline

Activity: 177
Merit: 153


View Profile WWW
November 07, 2014, 08:06:59 PM
 #558

Hi there,

II know I said next week, but i managed to build some experimental gpu miner binaries Grin.
I created a new release which includes the stratum changes from nonce-pool,
and some bug fixes regarding the device selection.

But still, the binaries and source code are very experimental!

All binaries are linked against AMD APP SDK v2.9
You can get it here: http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/

the most other dependent libraries are linked static.

Windows: https://github.com/gapcoin/GapMiner/releases/download/experimental-binaries/windows.zip
Linux: https://github.com/gapcoin/GapMiner/releases/download/experimental-binaries/linux.zip

Gapcoin - The largest, decentralized prime gap search
drumingspz
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
November 07, 2014, 08:07:10 PM
 #559

Has anybody been able to get a 2nd GPU running concurrently with their first?  I've tried specifying the GPU device ID '-d 1' on my 2nd instance of the program, but it doesn't seem to matter.  The program always defaults back to GPU 0.  Anybody get this to work yet?




░░░░░░░▄▄█████▄▄▄░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░▄██████████████▄░░░░░░░░░░░░░░░░░░░▄██████▄▄░░░░░░
░░▄██████████████████▄░░░░░░░░░░░░░░▄████████████▄░░░░
██████████████████████▄░░░░░░░░░░▄████████████████▄░░
▄███████████████████████▄░░░░░░░▄████████████████████
██████████████████████████▄░░░▄███████████████████████
█████████████████████████████████████████████████████▀
█████████████████████████▀░░░░░▀████████████████████▀
██████████████████████▀░░░░░░░░░▀█████████████████▀░░
░░███████████████████▀░░░░░░░░░░░░░░▀████████████▀░░░░
░░░▀███████████████▀░░░░░░░░░░░░░░░░░░▀▀██████▀▀░░░░░░
░░░░░░▀█████████▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
mira  ▀▀
██
 
██
   
██
   
██
   
██
   
██
▄▄
Cryptocurrencies have never been so easy
▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬
Facebook LinkedIn Twitter White Paper Google+
▀▀
██
 
██
   
██
   
██
   
██
   
██
▄▄
 
[/center]
drumingspz
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
November 07, 2014, 08:08:39 PM
 #560

Hi there,

II know I said next week, but i managed to build some experimental gpu miner binaries Grin.
I created a new release which includes the stratum changes from nonce-pool,
and some bug fixes regarding the device selection.

But still, the binaries and source code are very experimental!

All binaries are linked against AMD APP SDK v2.9
You can get it here: http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/

the most other dependent libraries are linked static.

Windows: https://github.com/gapcoin/GapMiner/releases/download/experimental-binaries/windows.zip
Linux: https://github.com/gapcoin/GapMiner/releases/download/experimental-binaries/linux.zip

Yay, I'll try the linux binary to see if I can get more GPU's running.




░░░░░░░▄▄█████▄▄▄░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░▄██████████████▄░░░░░░░░░░░░░░░░░░░▄██████▄▄░░░░░░
░░▄██████████████████▄░░░░░░░░░░░░░░▄████████████▄░░░░
██████████████████████▄░░░░░░░░░░▄████████████████▄░░
▄███████████████████████▄░░░░░░░▄████████████████████
██████████████████████████▄░░░▄███████████████████████
█████████████████████████████████████████████████████▀
█████████████████████████▀░░░░░▀████████████████████▀
██████████████████████▀░░░░░░░░░▀█████████████████▀░░
░░███████████████████▀░░░░░░░░░░░░░░▀████████████▀░░░░
░░░▀███████████████▀░░░░░░░░░░░░░░░░░░▀▀██████▀▀░░░░░░
░░░░░░▀█████████▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
mira  ▀▀
██
 
██
   
██
   
██
   
██
   
██
▄▄
Cryptocurrencies have never been so easy
▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬▬▬▬▬▬ ● ● ● ● ▬
Facebook LinkedIn Twitter White Paper Google+
▀▀
██
 
██
   
██
   
██
   
██
   
██
▄▄
 
[/center]
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ... 123 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!