Closed ma-sadeghi closed 3 years ago
I installed pyopencl on a fresh conda virtualenv, but when running pyopencl.device_info() I get:
pyopencl
pyopencl.device_info()
Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: pyopencl._cl.device_info: No constructor defined!
Does that mean my GPU driver was not found?
PS. I also tried installing ocl-icd-system but didn't help.
ocl-icd-system
No. device_info is a namespace for constants. It's not meant to be instantiated. Please follow the examples.
device_info
I installed
pyopencl
on a fresh conda virtualenv, but when runningpyopencl.device_info()
I get:Does that mean my GPU driver was not found?
PS. I also tried installing
ocl-icd-system
but didn't help.