Accelerator manager interface. More...
#include <arccore/common/accelerator/IAcceleratorMng.h>
Public Member Functions | |
| virtual void | initialize (const AcceleratorRuntimeInitialisationInfo &runtime_info)=0 |
| Initializes the instance. | |
| virtual bool | isInitialized () const=0 |
| Indicates if the instance has been initialized via the call to initialize(). | |
| virtual Runner * | defaultRunner ()=0 |
| Default runner. | |
| virtual RunQueue * | defaultQueue ()=0 |
| Default run queue. | |
| virtual Runner | runner ()=0 |
| Runner associated with the instance. | |
| virtual RunQueue | queue ()=0 |
| Run queue associated with the instance. | |
Accelerator manager interface.
This interface allows retrieving an instance of Runner and RunQueue associated with a context. You must call initialize() to create these two instances, which can then be retrieved via runner() or queue().
It is necessary to call initialize() before accessing methods such as defaultRunner() or defaultQueue().
Definition at line 38 of file arccore/src/common/arccore/common/accelerator/IAcceleratorMng.h.
|
pure virtual |
Default run queue.
The returned pointer remains the property of this instance.
|
pure virtual |
Default runner.
The returned pointer remains the property of this instance.
|
pure virtual |
Initializes the instance.
|
pure virtual |
Run queue associated with the instance.
If the instance has been initialized, returns *defaultQueue(). Otherwise, returns a null queue.
|
pure virtual |