OpenCL not available after 'suspend/resume' cycle. Is there an easy work around?

I often, but not always, get the same problem on suspend/resume. The easiest solution is to close DT before suspend, but whenever I forget to this, I do the following:

After suspend, DT is open but not using opencl.

close DT

sudo rmmod nvidia_uvm

sudo insmod nvidia_uvm

start DT

I think this solution came from this forum a couple of years ago

3 Likes