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.

戻り値:

Size of allocated bytes. (Requested bytes and actual allocated bytes would be different.)