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.
- Check whether you've installed
CUDA
toolkit on your Windows. - Check whether
PATH
environments forCUDA
is set properly. - If you are using the latest version of
VS
, it may be difficult(or impossible) forPyCUDA
to work with it. So if you want to install an older version ofVS
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'])