Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::IAcceleratorMng Class Referenceabstract

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 RunnerdefaultRunner ()=0
 Default runner.
virtual RunQueuedefaultQueue ()=0
 Default run queue.
virtual Runner runner ()=0
 Runner associated with the instance.
virtual RunQueue queue ()=0
 Run queue associated with the instance.

Detailed Description

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.

Member Function Documentation

◆ defaultQueue()

Default run queue.

The returned pointer remains the property of this instance.

Note
This method will eventually be obsolete. It is preferable to use the queue() method instead because it is always valid.

◆ defaultRunner()

Default runner.

Note
This method will eventually be obsolete. It is preferable to use the runner() method instead because it is always valid.

The returned pointer remains the property of this instance.

Precondition
isInitialized()==true

◆ initialize()

Initializes the instance.

Precondition
isInitialized()==false

◆ queue()

Run queue associated with the instance.

If the instance has been initialized, returns *defaultQueue(). Otherwise, returns a null queue.

◆ runner()

Runner associated with the instance.

If the instance has been initialized, returns *defaultRunner(). Otherwise, returns a null Runner instance.


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