I am running code which is written in pyCUDA. It works fine for 45333 iterations, but when it reaches 45334th iteration
pycuda._driver.LogicError: cuModuleLoadDataEx failed: an illegal memory access was encountered -
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuModuleUnload failed: an illegal memory access was encountered
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFree failed: an illegal memory access was encountered
This problem has occured thrice, earlier I thought it was a memory issue but it isn’t.
https://stackoverflow.com/questions/46404868/what-is-cumoduleloaddataex-failed-error