class nbla::PhysicalMemory
-
class PhysicalMemory
Physical memory interface class.
Public Functions
-
virtual size_t alloc() = 0
Allocate physical memory at least larger than bytes_.
This method must be implemented in derived class.
- Returns:
Size of allocated bytes. (Requested bytes and actual allocated bytes would be different.)
-
virtual size_t alloc() = 0