Andreas Klöckner <lists@...> writes:
On Montag 21 Dezember 2009, Ewan Maxwell wrote:
test_driver.py works(all 16 tests), the example
code i mentioned works to
however, other tests still fail with the same reason("nvcc fatal~")
That's strange. If all of them have the same path, why would some fail and
I found a possible solution.
But first, you need to understand that I have a non-english OS.(Windows 7 x64
the native codepage of my OS is CP949 but some of the cuda INCLUDEs have a non
Certain files that were encoded with a non compatible codepage, and when they
are referenced in the source, nvcc (and VS2008 too) pops a warning about the
codepage and needing to change the files to unicode everytime.
This just ends with a warning in vs2008, but apparently pycuda interprets the
warnings as errors.
I do not know how many files are affected, but
is definitely affected(thus, test_driver.py runs without a problem while
test_gpuarray fails because it needs math_functions.h)
I simply opened the file with VS2008 and saved it without doing anything.
(I hoped VS2008, supporting both unicode and CP949, would sort it out for me)
Fortunately the problem seems to be solved.
every test passes without a problem except:
64.egg\pycuda\gpuarray.py:601: DeprecationWarning: struct integer overflow maski
ng is deprecated
result.gpudata, start, step, size)
But I believe that this is an independent problem.