|
cuDDL
|
Returns the free pages of a device_pinned_pool to the OS when it leaves scope. More...
Public Member Functions | |
| pinned_pool_trim (cuda::device_ref device, pinned_placement placement) | |
| pinned_pool_trim (pinned_pool_trim const &)=delete | |
| pinned_pool_trim & | operator= (pinned_pool_trim const &)=delete |
| ~pinned_pool_trim () | |
Returns the free pages of a device_pinned_pool to the OS when it leaves scope.
The pool keeps freed pages so work that allocates and frees pinned buffers repeatedly pins them once; a guard around that work keeps the process from holding them afterwards. A trim that fails only leaves the pages pinned, so its status is not reported.
Definition at line 88 of file pinned_pool.cuh.
|
inline |
Definition at line 90 of file pinned_pool.cuh.
|
delete |
|
inline |
Definition at line 94 of file pinned_pool.cuh.
|
delete |