Skip to content

examples: ensure cleanup occurs before main ends.

tfogal requested to merge tfogal/vtk-m:release-resources into master

Else the implicit context in the CUDA driver may destroy itself before the destructors for globals/statics run, and we could try to e.g. cudaFree without a valid context.

Merge request reports