|
tfel
|
base class of the execution policies of the backends of the generic-parallel interfaces. More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/GenericParallel/AbstractBackendExecutionPolicy.hxx>
Public Member Functions | |
| virtual const char * | getIdentifier () const noexcept=0 |
| virtual | ~AbstractBackendExecutionPolicy () |
| destructor | |
Protected Member Functions | |
| AbstractBackendExecutionPolicy () noexcept=default | |
| default constructor | |
| AbstractBackendExecutionPolicy (const AbstractBackendExecutionPolicy &) noexcept=default | |
| copy constructor | |
| AbstractBackendExecutionPolicy (AbstractBackendExecutionPolicy &&) noexcept=default | |
| move constructor | |
| AbstractBackendExecutionPolicy & | operator= (const AbstractBackendExecutionPolicy &) noexcept=default |
| copy assignment | |
| AbstractBackendExecutionPolicy & | operator= (AbstractBackendExecutionPolicy &&) noexcept=default |
| move assignment | |
base class of the execution policies of the backends of the generic-parallel interfaces.
A generated function compares the identifier of the policy it receives with the one of its backend, then converts the policy by static_cast (see getBackendExecutionPolicy). A policy whose identifier is not the one of the backend is refused (invalid arguments).
This class is defined by the MFrontGenericParallelRuntime library, which must be linked by the codes creating policies. The generated libraries do not need it.
|
pure virtualnoexcept |
Implemented in mfront::generic_parallel::CUDABackendExecutionPolicy, mfront::generic_parallel::HIPBackendExecutionPolicy, mfront::generic_parallel::ParallelSTLBackendExecutionPolicy, mfront::generic_parallel::SyclBackendExecutionPolicy, and OtherBackendExecutionPolicy.