maweigert / gputools

GPU accelerated image/volume processing in Python
BSD 3-Clause "New" or "Revised" License
108 stars 20 forks source link

fix broken import on newer pyopencl #21

Closed tlambert03 closed 2 years ago

tlambert03 commented 4 years ago

Looks like pyopencl removed the cffi_cl module as of version 2018.2 ... so catching Logic and RuntimeErrors in gputools.convolve are failing with newer versions.

As an only-vaguely-related question (can move to issue if desired): When I do trigger a runtime error with a larger psf, I get a kernel panic and my computer logs me out immediately! :) hard to debug that one... but any thoughts there?