| 
    Template Numerical Library version\ main:6a1fe78
    
   | 
 
Allocator for the HIP device memory space. More...
#include <TNL/Allocators/Hip.h>
Public Types | |
| using | difference_type = std::ptrdiff_t | 
| using | size_type = std::size_t | 
| using | value_type = T | 
Public Member Functions | |
| Hip (const Hip &)=default | |
| template<class U> | |
| Hip (const Hip< U > &) | |
| Hip (Hip &&) noexcept=default | |
| template<class U> | |
| Hip (Hip< U > &&) | |
| value_type * | allocate (size_type n) | 
| void | deallocate (value_type *ptr, size_type) | 
| Hip & | operator= (const Hip &)=default | 
| template<class U> | |
| Hip & | operator= (const Hip< U > &) | 
| Hip & | operator= (Hip &&) noexcept=default | 
| template<class U> | |
| Hip & | operator= (Hip< U > &&) | 
Allocator for the HIP device memory space.
The allocation is done using the hipMalloc function and the deallocation is done using the hipFree function.