A simple GMA wrapper that conforms to the C++ Allocator trait spec (see: https://en.cppreference.com/w/cpp/named_req/Allocator).
More...
#include <sdram_allocator.h>
|
|
template<typename U> |
| constexpr | sdram_allocator (const sdram_allocator< U > &) noexcept |
|
T * | allocate (std::size_t n) noexcept(false) |
|
void | deallocate (T *p, std::size_t n) |
|
template<typename U> |
| bool | operator== (const sdram_allocator< U > &o) |
|
template<typename U> |
| bool | operator!= (const sdram_allocator< U > &o) |
template<typename T>
class deluge::memory::sdram_allocator< T >
A simple GMA wrapper that conforms to the C++ Allocator trait spec (see: https://en.cppreference.com/w/cpp/named_req/Allocator).
- Note
- The sdram_allocator allows allocation to either the specially reserved "external" 8MiB region of SDRAM OR the remaining 56MiB "stealable" region of SDRAM
- Template Parameters
-
| T | The type to allocate for |
The documentation for this class was generated from the following file: