Gromacs
2018.1
|
Private implementation class.
Public Attributes | |
void * | pointer_ = nullptr |
Pointer to the last unfreed allocation, or nullptr if no allocation exists. More... | |
std::size_t | numBytes_ = 0 |
Number of bytes in the last unfreed allocation. | |
void * | pinnedPointer_ = nullptr |
The pointer to any storage that has been pinned, or nullptr if none has been pinned. | |
PinningPolicy | pinningPolicy_ = PinningPolicy::CannotBePinned |
Whether this object is in mode where new allocations will be pinned by default. | |
void* gmx::HostAllocationPolicy::Impl::pointer_ = nullptr |
Pointer to the last unfreed allocation, or nullptr if no allocation exists.
Note that during e.g. std::vector.resize() a call to its allocator's allocate() function precedes the call to its allocator's deallocate() function for freeing the old buffer after the data has been copied from it. So in general, pointer_ will not match the argument received by free().