-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Std containers call deallocate from their allocator during their destructor. A conforming implementation must call std::terminate if a destructor would exit by throwing a new exception. So one cannot handle an error from freeing the CUDA memory by throwing anything, because it will not be caught in time. Normal practice is comment that such an error cannot be handled in a way that would make it safe to use in a generic way.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels