If my host program [exit]/[segfault]/[is killed] what are the corresponding behaviors regarding the CUDA context destruction and corresponding allocated resources ?
By "behavior" I mean automatic GPU driver side mechanism if I never explicitly call cudaDeviceReset in my program.
I'm working under Linux and I've seen my GPU memory usage growing incrementally over several days (or even one single day) while I was launching CUDA code that was some times terminated through (CTRL-C) or simply segfaulting (on the host side) ...