Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: moocow1452 on March 12, 2012, 06:34:48 PM



Title: Fun with Cuda
Post by: moocow1452 on March 12, 2012, 06:34:48 PM
Using an Alienware m11x (OG, GT335m), and it seems that Open CL is not working despite a clean driver install from NVidia, downloading the Cuda kit, and then reverting to Dell's official switchable driver. It's also messing with Folding@Home, so I'm pretty sure it's not any specific miner. Help?


Title: Re: Fun with Cuda
Post by: moocow1452 on March 12, 2012, 07:28:55 PM
About all I know is that if I try and run a cmd prompt miner, I get something along the lines of "2012-03-12 15:21:51 Error: Error getting OpenCL platforms" except the date is then it happened, obviously.  ::) Using the Windows 8 Preview with the IE and Chrome, haven't installed Firefox. Would that have anything to do with it if WebCL isn't availible, or different ponies?


Title: Re: Fun with Cuda
Post by: moocow1452 on March 12, 2012, 07:35:38 PM
Should I try a live disk and see if that changes anything if I open up restricted drivers and let er rip?


Title: Re: Fun with Cuda
Post by: moocow1452 on March 13, 2012, 01:22:55 AM
Good news, a two year old beta driver actually got it to respond to CUDA commands. Now the fun part.

Code:
Using all devices
        0       GeForce GT 335M
Compiling kernel... this could take up to 2 minutes.
:14: error: no matching overload found for arguments of type 'unsigned int  __a
tribute__((ext_vector_type(4))), unsigned int'
        return rotl(n&0x00FF00FF,24U)|rotl(n&0xFF00FF00,8U);
               ^~~~
:607: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[0] ^= rotl(w[3]     +w[2]     , 7U);
                        ^~~~
:608: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[1] ^= rotl(w[0]     +w[3]     , 9U);
                        ^~~~
:609: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[2] ^= rotl(w[1]     +w[0]     ,13U);
                        ^~~~
:610: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[3] ^= rotl(w[2]     +w[1]     ,18U);
                        ^~~~
:611: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[2] ^= rotl(w[3].wxyz+w[0].zwxy, 7U);
                        ^~~~
:612: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[1] ^= rotl(w[2].wxyz+w[3].zwxy, 9U);
                        ^~~~
:613: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[0] ^= rotl(w[1].wxyz+w[2].zwxy,13U);
                        ^~~~
:614: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[3] ^= rotl(w[0].wxyz+w[1].zwxy,18U);
                        ^~~~
:624: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[0] ^= rotl(w[3]     +w[2]     , 7U);
                        ^~~~
:625: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[1] ^= rotl(w[0]     +w[3]     , 9U);
                        ^~~~
:626: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[2] ^= rotl(w[1]     +w[0]     ,13U);
                        ^~~~
:627: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[3] ^= rotl(w[2]     +w[1]     ,18U);
                        ^~~~
:628: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[2] ^= rotl(w[3].wxyz+w[0].zwxy, 7U);
                        ^~~~
:629: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[1] ^= rotl(w[2].wxyz+w[3].zwxy, 9U);
                        ^~~~
:630: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[0] ^= rotl(w[1].wxyz+w[2].zwxy,13U);
                        ^~~~
:631: error: no matching overload found for arguments of type 'unsigned int  __
ttribute__((ext_vector_type(4))), unsigned int'
                w[3] ^= rotl(w[0].wxyz+w[1].zwxy,18U);
                        ^~~~

2012-03-12 23:41:07 Error: Error building OpenCL program


Title: Re: Fun with Cuda
Post by: Schleicher on March 13, 2012, 07:16:26 AM
Did you try this one?
http://www.nvidia.com/object/notebook-win7-winvista-64bit-295.73-whql-driver.html (http://www.nvidia.com/object/notebook-win7-winvista-64bit-295.73-whql-driver.html)
You don't need to install the CUDA Toolkit.


Title: Re: Fun with Cuda
Post by: moocow1452 on March 13, 2012, 01:45:57 PM
Yeah, but it seems that the newest drivers made it lose support, ironically. I'll try doing a patch install, see if that does anything.

EDIT: Nope, lost Cuda and OpenCL support, but Open GL is 3.3, probably not worth it at this point.


Title: Re: Fun with Cuda
Post by: Schleicher on March 13, 2012, 04:34:17 PM
You are using Win 8, right?
Looks like CUDA/OpenCL is not supported yet:
http://forums.developer.nvidia.com/devforum/discussion/5386/cuda-and-windows-8 (http://forums.developer.nvidia.com/devforum/discussion/5386/cuda-and-windows-8)


Title: Re: Fun with Cuda
Post by: moocow1452 on March 13, 2012, 07:19:58 PM
Go figure... Thanks guys.

EDIT: And now there is CUDA driver for Windows 8, same day.  ::)