Skip to content

Major update to CUDA Context managment

Bram Veenboer requested to merge update-cuda-context into master

Implement ScopedCurrentContext (as in the LOFAR COBALT code), to make sure that the CUDA context is always applied whenever a CUDA (driver API) call is made.

There is no need to use the setCurrent() method anymore. This makes the high-level code (e.g. the CUDA class) a bit cleaner as well.

Merge request reports

Loading