Bitcoin Forum
July 30, 2024, 06:18:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Getting m0mchill-poclbm to compile - mixed vector/scalar operation?  (Read 934 times)
dobitment (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
June 12, 2011, 10:29:09 PM
 #1

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 <pyopencl.Device 'AMD Phenom(tm) II X6 1055T Processor' at 0x10d4380>:

/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?

vulgata
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
August 23, 2011, 10:11:03 PM
 #2

The error that I get is:
Build on <pyopencl.Device 'AMD Phenom(tm) II X6 1055T Processor' at 0x10d4380>:

/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?
Pages: [1]
  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!