| View previous topic :: View next topic |
| Author |
Message |
SWL_EGGBABY
Joined: 16 Dec 2009 Posts: 29
|
Posted: Mon Mar 01, 2010 6:49 pm Post subject: GPU does not work why? |
|
|
Hi Mat,
The running results:
invalid device function
no error
Results:
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
-1.1893121E+30 NaN -4.8118640E-35 -1.7518910E-15
what is the invalid device function,I do not understand,please help me,thank you! |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Wed Mar 03, 2010 1:02 pm Post subject: |
|
|
Hi SWL_EGGBABY,
Try using the Telsa card instead of the FX5800. i.e. add "istat = cudaSetDevice(1)" to your main program. Also, you'll need to declare "istat" and add "use cudafor".
Hope this helps,
Mat |
|
| Back to top |
|
 |
SWL_EGGBABY
Joined: 16 Dec 2009 Posts: 29
|
Posted: Wed Mar 03, 2010 8:11 pm Post subject: GPU does not work why? |
|
|
Hi Mat,
I can't use both of my tow cards,They are both display invalid device function.
I use the samples sgemm.cuf test them:
\nDevice:Quadro FX 5800, 1296.0 MHz clock, 4095.7 MB memory.\n
invalid device function
65536 errors were encountered
256x256 * 256x256:\t 0.007 ms\t4644.484 GFlops/s
请按任意键继续. . .
\nDevice:Tesla C1060, 1296.0 MHz clock, 4095.8 MB memory.\n
invalid device function
38560 errors were encountered
256x256 * 256x256:\t 0.008 ms\t4309.860 GFlops/s
请按任意键继续. . .
Oh my tow bad cards! |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Thu Mar 04, 2010 5:19 pm Post subject: |
|
|
Hi SWL_EGGBABY,
| Quote: | | Oh my tow bad cards! | I doubt your cards are bad, rather it's more likely a configuration issue, like a driver problem. Exactly what, unfortunately I don't know.
My next step would be to call the "cudaGetDevice" and "cudaGetDeviceProperties" to see what is returned. Also, what NVIDIA drivers are you using? Are they CUDA 2.3 capable (version >= 190)?
- Mat |
|
| Back to top |
|
 |
SWL_EGGBABY
Joined: 16 Dec 2009 Posts: 29
|
Posted: Fri Mar 05, 2010 12:00 am Post subject: please help me ,thank you! |
|
|
Hi Mat,
Thank you.
It'is a driver problem,I download and installed the new driver,everything is fine now.
Thank you again for help me so much. |
|
| Back to top |
|
 |
|