I have a kernel which fails due to an illegal memory access and I want to recover from this failure.
After the kernel fails I try to destroy the old context with:
Then I try to create a new context with either:
The problems seams to be that the old error message from the failed kernel launch still has not been reset and the creation of a new context fails with the old error message.
Is it possible to recover from a broken context?
nvidia-smi tells me that I am using driver version: 375.66
nvcc --version: Cuda compilation tools, release 8.0, V8.0.44