Compute Library
 20.08
IRuntimeContext Class Referenceabstract

Context interface. More...

#include <IRuntimeContext.h>

Public Member Functions

virtual ~IRuntimeContext ()=default
 Destructor. More...
 
virtual ISchedulerscheduler ()=0
 Scheduler accessor. More...
 
virtual IAssetManagerasset_manager ()=0
 Asset manager accessor. More...
 
virtual const DevicePropertiesproperties ()=0
 Device propertied accessor. More...
 

Detailed Description

Context interface.

Definition at line 35 of file IRuntimeContext.h.

Constructor & Destructor Documentation

◆ ~IRuntimeContext()

virtual ~IRuntimeContext ( )
virtualdefault

Destructor.

Member Function Documentation

◆ asset_manager()

virtual IAssetManager* asset_manager ( )
pure virtual

Asset manager accessor.

Note
Asset manager is used to manage objects/tensors within functions
Returns
The asset manager registered to the context

Implemented in RuntimeContext.

◆ properties()

virtual const DeviceProperties& properties ( )
pure virtual

Device propertied accessor.

Returns
Device properties

Implemented in RuntimeContext.

◆ scheduler()

virtual IScheduler* scheduler ( )
pure virtual

Scheduler accessor.

Note
Scheduler is used to schedule workloads
Returns
The scheduler registered to the context

Implemented in RuntimeContext.

Referenced by arm_compute::schedule_kernel_on_ctx().


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