Hi Andreas, Thank you for the advice! That was a big hit and I fixed the problem.
In fact, I have numpy on my machine, but it looks like the version was too old for the version of pycuda I installed. The version of my numpy was 1.12.1 and I replaced it with 1.17.0, and the problem solved. Thank you very much! Ziqiao _______________________________________________ PyCUDA mailing list -- pycuda@tiker.net To unsubscribe send an email to pycuda-le...@tiker.net