[PyCUDA] FFT code gets error only when Python exit
Ying Wai (Daniel) Fan
yfan at emory.edu
Wed Dec 30 23:24:10 PST 2009
Hi,
No long ago I have posted on this mailing list my wrapper of CUFFT in
ctypes. The wrapper works fine with GPUArray with no problem and gives
the correct output. But whenever I exit Python, I've got the following
error message:
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuCtxDestroy failed: invalid value
I have attached a minimal example leading to this error. Basically, I
just initialize PyCUDA, create a CUFFT plan, then destroy the plan and
exit. Does anyone knows how to get rid of that error message, or is it
ok to ignore this error?
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fft_test.py
Type: text/x-python
Size: 1483 bytes
Desc: not available
URL: <http://lists.tiker.net/pipermail/pycuda/attachments/20091231/aef5df12/attachment-0001.py>
More information about the PyCUDA
mailing list