Apparently sometimes thread creation in the opnCL context fails with the below error:
FFTthr = FFTapi.Thread.create()
File "/home/feldt/AOSAT_Dev/venv/lib/python3.5/site-packages/reikna/cluda/api.py", line 240, in create
selected_pnum = sorted(devices.keys())[0]
IndexError: list index out of range
The strange thing is that after a few attempts it sometimes works, and once the thread is created successfully it usually works flawlessly. So I suspect it has to do with an underlying library trying to connect to the GPU or something. The question is however - could reikna diagnose the problem and give a more useful report?
OpenCL version is OpenCL version 2019.1.1, reikna version is 0.7.2
Apparently sometimes thread creation in the opnCL context fails with the below error:
FFTthr = FFTapi.Thread.create()
File "/home/feldt/AOSAT_Dev/venv/lib/python3.5/site-packages/reikna/cluda/api.py", line 240, in create
selected_pnum = sorted(devices.keys())[0]
IndexError: list index out of range
The strange thing is that after a few attempts it sometimes works, and once the thread is created successfully it usually works flawlessly. So I suspect it has to do with an underlying library trying to connect to the GPU or something. The question is however - could reikna diagnose the problem and give a more useful report?
OpenCL version is OpenCL version 2019.1.1, reikna version is 0.7.2