Ginkgo  Generated from pipelines/375350765 branch based on develop. Ginkgo version 1.5.0
A numerical linear algebra library targeting many-core architectures
Public Member Functions | Static Public Member Functions | List of all members
gko::OmpExecutor Class Reference

This is the Executor subclass which represents the OpenMP device (typically CPU). More...

#include <ginkgo/core/base/executor.hpp>

Collaboration diagram for gko::OmpExecutor:
[legend]

Public Member Functions

std::shared_ptr< Executorget_master () noexcept override
 Returns the master OmpExecutor of this Executor. More...
 
std::shared_ptr< const Executorget_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
 

Static Public Member Functions

static std::shared_ptr< OmpExecutorcreate ()
 Creates a new OmpExecutor.
 

Detailed Description

This is the Executor subclass which represents the OpenMP device (typically CPU).

Member Function Documentation

◆ get_master() [1/2]

std::shared_ptr<const Executor> gko::OmpExecutor::get_master ( ) const
overridevirtualnoexcept

Returns the master OmpExecutor of this Executor.

Returns
the master OmpExecutor of this Executor.

Implements gko::Executor.

◆ get_master() [2/2]

std::shared_ptr<Executor> gko::OmpExecutor::get_master ( )
overridevirtualnoexcept

Returns the master OmpExecutor of this Executor.

Returns
the master OmpExecutor of this Executor.

Implements gko::Executor.


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