|
CPPuddle
|
Underlying allocator for CUDA device memory. More...
#include <cuda_underlying_allocators.hpp>
Public Types | |
| using | value_type = T |
Public Member Functions | |
| cuda_device_allocator () noexcept=default | |
| template<class U > | |
| cuda_device_allocator (cuda_device_allocator< U > const &) noexcept | |
| T * | allocate (std::size_t n) |
| void | deallocate (T *p, std::size_t n) |
Underlying allocator for CUDA device memory.
| using cppuddle::memory_recycling::detail::cuda_device_allocator< T >::value_type = T |
|
defaultnoexcept |
|
inlineexplicitnoexcept |
|
inline |
|
inline |