Hello again,
Thank you for quick reply before. This was very helping, I now run things
correctly on that example.
But here is one new question I have. I am trying example
"DemoMetaMatrixmulCheetah.py".
So the error is:
error: identifier "uint" is undefined
(*full error trace is put after email*)
I am trying replacing "uint" in template file by other things, but dont find
something works. During the different tries, either it is give same
"undefined" error or otherwise fails final assertion test (wasn't computed
correctly). So what should I do? Some problem with installation of nvcc?
Sorry for not understanding! (I am immediately new to these thing.)
Thank you!
-Tob
***********error trace***********
Traceback (most recent call last):
File "DemoMetaMatrixmulCheetah.py", line 145, in <module>
mat_c, gpu_time = matrixmul_opt(mat_a, mat_b)
File "DemoMetaMatrixmulCheetah.py", line 85, in matrixmul_opt
module = compiler.SourceModule(kernel_code)
File
"/usr/local/Cellar/python/2.7/lib/python2.7/site-packages/pycuda-2011.1-py2.7-macosx-10.4-x86_64.egg/pycuda/compiler.py",
line 238, in __init__
arch, code, cache_dir, include_dirs)
File
"/usr/local/Cellar/python/2.7/lib/python2.7/site-packages/pycuda-2011.1-py2.7-macosx-10.4-x86_64.egg/pycuda/compiler.py",
line 228, in compile
return compile_plain(source, options, keep, nvcc, cache_dir)
File
"/usr/local/Cellar/python/2.7/lib/python2.7/site-packages/pycuda-2011.1-py2.7-macosx-10.4-x86_64.egg/pycuda/compiler.py",
line 107, in compile_plain
cmdline, stdout=stdout, stderr=stderr)
pycuda.driver.CompileError: nvcc compilation of
/var/folders/J3/J3dRJ1sjGmai+306LIbxME+++TI/-Tmp-/tmpFLnhLV/kernel.cu failed
[command: nvcc --cubin -arch sm_11 -m64
-I/usr/local/Cellar/python/2.7/lib/python2.7/site-packages/pycuda-2011.1-py2.7-macosx-10.4-x86_64.egg/pycuda/../include/pycuda
kernel.cu]
[stderr:
kernel.cu(31): error: identifier "uint" is undefined
kernel.cu(32): error: identifier "uint" is undefined
kernel.cu(35): error: identifier "uint" is undefined
kernel.cu(36): error: identifier "uint" is undefined
kernel.cu(39): error: identifier "uint" is undefined
kernel.cu(41): error: identifier "uint" is undefined
kernel.cu(43): error: identifier "uint" is undefined
kernel.cu(46): error: identifier "uint" is undefined
kernel.cu(48): error: identifier "uint" is undefined
kernel.cu(51): error: identifier "uint" is undefined
kernel.cu(58): error: identifier "uint" is undefined
kernel.cu(59): error: identifier "uint" is undefined
12 errors detected in the compilation of
"/tmp/tmpxft_00006eee_00000000-4_kernel.cpp4.ii".
]
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda