|
Celeritas 0.7.0-dev.242+develop.62c3034b
|
Save and restore CUDA limits inside the current scope. More...
#include <ScopedLimitSaver.hh>
Public Member Functions | |
| ScopedLimitSaver () | |
| Save attributes. | |
| ~ScopedLimitSaver () | |
| Restore and possibly warn about changed attributes. | |
| ScopedLimitSaver (ScopedLimitSaver const &)=delete | |
| ScopedLimitSaver & | operator= (ScopedLimitSaver const &)=delete |
| ScopedLimitSaver (ScopedLimitSaver &&)=delete | |
| ScopedLimitSaver & | operator= (ScopedLimitSaver &&)=delete |
Save and restore CUDA limits inside the current scope.
This is useful for calling poorly behaved external libraries that change CUDA limits unexpectedly. We don't use this with HIP because it's only needed at present for VecGeom.
|
delete |
Prevent copying and moving for RAII class
|
delete |
Prevent copying and moving for RAII class
|
delete |
Prevent copying and moving for RAII class
|
delete |
Prevent copying and moving for RAII class