|
Template Numerical Library version\ main:d3a9f32
|
Allocator for the HIP Unified Memory system. More...
#include <TNL/Allocators/HipManaged.h>
Public Types | |
| using | difference_type = std::ptrdiff_t |
| using | size_type = std::size_t |
| using | value_type = T |
Allocator for the HIP Unified Memory system.
The memory allocated by this allocator will be automatically managed by the HIP Unified Memory system. The allocation is done using the hipMallocManaged function and the deallocation is done using the hipFree function.