Ginkgo
Generated from pipelines/1330831941 branch based on master. Ginkgo version 1.8.0
A numerical linear algebra library targeting many-core architectures
|
This is the Executor subclass which represents the OpenMP device (typically CPU). More...
#include <ginkgo/core/base/executor.hpp>
Public Member Functions | |
std::shared_ptr< Executor > | get_master () noexcept override |
Returns the master OmpExecutor of this Executor. More... | |
std::shared_ptr< const Executor > | get_master () const noexcept override |
Returns the master OmpExecutor of this Executor. More... | |
void | synchronize () const override |
Synchronize the operations launched on the executor with its master. | |
int | get_num_cores () const |
int | get_num_threads_per_core () const |
scoped_device_id_guard | get_scoped_device_id_guard () const override |
Static Public Member Functions | |
static std::shared_ptr< OmpExecutor > | create (std::shared_ptr< CpuAllocatorBase > alloc=std::make_shared< CpuAllocator >()) |
Creates a new OmpExecutor. | |
static int | get_num_omp_threads () |
This is the Executor subclass which represents the OpenMP device (typically CPU).
|
overridevirtualnoexcept |
Returns the master OmpExecutor of this Executor.
Implements gko::Executor.
|
overridevirtualnoexcept |
Returns the master OmpExecutor of this Executor.
Implements gko::Executor.