Hi,
Yes, I finally upgraded to the latest available version for my GPU and I
no longer get the pixelation issue, but I do notice that there is a
screen blink when I run
> python demo.py
I re-built everything following the instructions for "Windows Vista
64-bit with Visual Studio 2008" except using Boost 1.38 and python 2.6.
I made sure to use the 64-bit version of the CUDA toolkit also.
The demo seems to run okay until the end where I get the following:
=======================
original array:
[[ 0.44787097 -0.69736814 0.61424559 -1.05344117]
[-0.63794822 0.76305324 0.27505526 -0.02587178]
[ 0.39495826 1.14148819 -1.03562367 -0.71130079]
[-0.39606822 1.47467124 1.10981381 0.064791 ]]
doubled with kernel:
[[ 0.89574194 -1.39473629 1.22849119 -2.10688233]
[-1.27589643 1.52610648 0.55011052 -0.05174356]
[ 0.78991652 2.28297639 -2.07124734 -1.42260158]
[-0.79213643 2.94934249 2.21962762 0.129582 ]]
doubled with InOut:
[[ 0.89574194 -1.39473629 1.22849119 -2.10688233]
[-1.27589643 1.52610648 0.55011052 -0.05174356]
[ 0.78991652 2.28297639 -2.07124734 -1.42260158]
[-0.79213643 2.94934249 2.21962762 0.129582 ]]
Traceback (most recent call last):
File "demo.py", line 44, in <module>
a_doubled = (2*a_gpu).get()
File
"c:\python26\lib\site-packages\pycuda-0.94beta-py2.6-win32.egg\pycuda\gpu
array.py", line 115, in get
drv.memcpy_dtoh(ary, self.gpudata)
pycuda._driver.LaunchError: cuMemcpyDtoH failed: launch failed
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFree failed: launch failed
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFree failed: launch failed
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuModuleUnload failed: launch failed
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuModuleUnload failed: launch failed
========================
Note that running hello_gpu produces a similar error:
============
D:\Documents\Python_Work\CUDA\pycuda\examples>python hello_gpu.py
Traceback (most recent call last):
File "hello_gpu.py", line 24, in <module>
block=(400,1,1))
File
"c:\python26\lib\site-packages\pycuda-0.94beta-py2.6-win32.egg\pycuda\dri
ver.py", line 151, in function_call
Context.synchronize()
pycuda._driver.LaunchError: cuCtxSynchronize failed: launch failed
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFree failed: launch failed
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFree failed: launch failed
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFree failed: launch failed
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuModuleUnload failed: launch failed
================
Any help appreciated.
On 3/2/2010 8:10 AM, Andreas Klöckner wrote:
On Dienstag 02 März 2010, reckoner wrote:
I ran test_driver.py and it looked like it was working okay, until it
caused my screen to pixelate so much that I couldn't read it.
Thanks in advance.
This shouldn't happen--or rather, the driver should prevent this from
happening. AFAIK, GPUs have some memory protection, so CUDA code can't
really overwrite display state unless something's seriously wedged. I
agree with Ian that you might be having driver or thermal issues. What
version of the driver are you using? Can you try and upgrade to the
latest-and-greatest?
Andreas
_______________________________________________
PyCUDA mailing list
pyc...@host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net