lebedov / scikit-cuda

Python interface to GPU-powered libraries
http://scikit-cuda.readthedocs.org/
Other
986 stars 179 forks source link

'>=' not supported between instances of 'str' and 'int' #238

Closed jiadongdan closed 6 years ago

jiadongdan commented 6 years ago

I installed Anaconda and Pycuda:

Details:

Python: 3.6.4 PyCuda: 2017.1.1+cuda9185 Scikit-cuda: pip install git+https://github.com/lebedov/scikit-cuda

When I import skcuda.linalg as linalg, I got a issue. import skcuda.linalg as linalg

image

Any reason?

lebedov commented 6 years ago

I can't reproduce this on Linux with the latest revision of skcuda (4728b50) and Python 3.6.4, PyCuda 2017.1.1, and CUDA 9.1.85; not sure why you are observing this behavior on Windows. What does the following print when you run it in an interactive python session?

import skcuda.cudart
print(type(skcuda.cudart.cudaRuntimeGetVersion())
lebedov commented 6 years ago

Please reopen if this issue persists with the latest revision on GitHub.