Function Description
Allocates the device memory based on the specified size in the developer memory pool.
Function Prototype
virtual MemBlock *Malloc(size_t size) = 0
Parameters
| Parameter | Input/Output | Description |
| size | Input | Size of the memory to be allocated. |
Return Value
| Type | Description |
| MemBlock* | Returns the MemBlock pointer. |
Restrictions
Pure virtual functions must be implemented by developers.