Compute Library
 20.08
IMemoryManageable Class Referenceabstract

Interface of an object than can be memory managed. More...

#include <IMemoryGroup.h>

Public Member Functions

virtual ~IMemoryManageable ()=default
 Default virtual destructor. More...
 
virtual void associate_memory_group (IMemoryGroup *memory_group)=0
 Associates a memory managable object with the memory group that manages it. More...
 

Detailed Description

Interface of an object than can be memory managed.

Definition at line 69 of file IMemoryGroup.h.

Constructor & Destructor Documentation

◆ ~IMemoryManageable()

virtual ~IMemoryManageable ( )
virtualdefault

Default virtual destructor.

Member Function Documentation

◆ associate_memory_group()

virtual void associate_memory_group ( IMemoryGroup memory_group)
pure virtual

Associates a memory managable object with the memory group that manages it.

Parameters
[in]memory_groupMemory group that manages the object.

Implemented in GCTensor, CLTensor, and Tensor.

Referenced by MemoryGroup::manage().


The documentation for this class was generated from the following file: