No output after using PyCUDA No output after using PyCUDA python-3.x python-3.x

No output after using PyCUDA


I'm not sure if this would help you out, but similar issue was solved by reinstall cuda(with anoconda).

In case you need it, you can install it via conda console

conda install -c anaconda cudatoolkit

And to check if it runs well,

type numba -s

Hope this can help


I'm not sure but I hope this help you address the problem.

  1. Check whether you've installed CUDA toolkit on your Windows.
  2. Check whether PATH environments for CUDA is set properly.
  3. If you are using the latest version of VS, it may be difficult(or impossible) for PyCUDA to work with it. So if you want to install an older version of VS additionally on your current system, after your installation, you may need to specify the path to your new (old-versioned) compiler.

For example, you can add this line into compiler function in site-packages\pycuda\compiler.py:

options.extend(['-ccbin', 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\cl.exe'])