Ginkgo
Generated from pipelines/1330831941 branch based on master. Ginkgo version 1.8.0
A numerical linear algebra library targeting many-core architectures
|
The enable_parameters_type mixin is used to create a base implementation of the factory parameters structure. More...
#include <ginkgo/core/base/abstract_factory.hpp>
Public Types | |
using | factory = Factory |
Public Member Functions | |
template<typename... Args> | |
ConcreteParametersType & | with_loggers (Args &&... _value) |
Provides the loggers to be added to the factory and its generated objects in a fluent interface. | |
std::unique_ptr< Factory > | on (std::shared_ptr< const Executor > exec) const |
Creates a new factory on the specified executor. More... | |
The enable_parameters_type mixin is used to create a base implementation of the factory parameters structure.
It provides only the on() method which can be used to instantiate the factory give the parameters stored in the structure.
ConcreteParametersType | the concrete parameters type which is being implemented [CRTP parameter] |
Factory | the concrete factory for which these parameters are being used |
|
inline |
Creates a new factory on the specified executor.
exec | the executor where the factory will be created |