Author

Topic: Getting m0mchill-poclbm to compile - mixed vector/scalar operation? (Read 951 times)

newbie
Activity: 55
Merit: 0
The error that I get is:
Build on :

/tmp/OCLWr29ew.cl(45): error: mixed vector-scalar operation not allowed unless
          up-convertable(scalar-type=>vector-element-type)
     nonce = base + get_global_id(0) + (uint2)(0, 0x80000000U);
                                       ^

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


Any idea how I can fix this?



Hey, I'm getting the same error.  Did you figure it out?
newbie
Activity: 9
Merit: 0
Hi,

I'm using 64-bit Ubuntu and have been having a very difficult time getting m0mchill's poclbm to run. I have version 2.1 of the AMD software and believe that I've installed all of the appropriate libraries

The version that I downloaded is here: https://github.com/m0mchil/poclbm/archives/master
(the source, not the windows executable)

I am running a 6950 with the following options:
python poclbm.py -d 0 -v -w 128 -o xxx -p 8332 --user=xxx --pass=xxx

The error that I get is:
Build on :

/tmp/OCLWr29ew.cl(45): error: mixed vector-scalar operation not allowed unless
          up-convertable(scalar-type=>vector-element-type)
     nonce = base + get_global_id(0) + (uint2)(0, 0x80000000U);
                                       ^

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


Any idea how I can fix this?

Jump to: