我正在尝试编译一些用于我的 GPU 的源代码。我为此使用pycuda。当我编译源代码时,我从 Python 收到一些错误:
C:\Users\Dmitriy\wcm>python ws_gpu.py test.dcm
Traceback (most recent call last):
File "ws_gpu.py", line 2, in <module>
import pycuda.gpuarray as gpu
File "C:\Python27\lib\site-packages\pycuda\gpuarray.py", line 3, in <module>
import pycuda.elementwise as elementwise
File "C:\Python27\lib\site-packages\pycuda\elementwise.py", line 33, in <module>
from pycuda.tools import context_dependent_memoize
File "C:\Python27\lib\site-packages\pycuda\tools.py", line 30, in <module>
import pycuda.driver as cuda
File "C:\Python27\lib\site-packages\pycuda\driver.py", line 2, in <module>
from pycuda._driver import *
ImportError: DLL load failed: ═х эрщфхэ єърчрээ√щ ьюфєы№.
有没有人遇到过类似的问题?我该如何解决这个问题?我使用 Windows 7 64 位,我的 GPU (NVIDIA GT520M) 和 CUDA Toolkit v.5.0 的最后一个驱动程序。