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

This is a specialization of the OmpExecutor, which runs the reference implementations of the kernels used for debugging purposes. More...

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

Inheritance diagram for gko::ReferenceExecutor:
[legend]
Collaboration diagram for gko::ReferenceExecutor:
[legend]

Public Member Functions

scoped_device_id_guard get_scoped_device_id_guard () const override
 
void run (const Operation &op) const override
 Runs the specified Operation using this Executor. More...
 
- Public Member Functions inherited from gko::OmpExecutor
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< ReferenceExecutorcreate (std::shared_ptr< CpuAllocatorBase > alloc=std::make_shared< CpuAllocator >())
 
- Static Public Member Functions inherited from gko::OmpExecutor
static std::shared_ptr< OmpExecutorcreate (std::shared_ptr< CpuAllocatorBase > alloc=std::make_shared< CpuAllocator >())
 Creates a new OmpExecutor.
 
static int get_num_omp_threads ()
 

Detailed Description

This is a specialization of the OmpExecutor, which runs the reference implementations of the kernels used for debugging purposes.

Member Function Documentation

◆ run()

void gko::ReferenceExecutor::run ( const Operation op) const
inlineoverridevirtual

Runs the specified Operation using this Executor.

Parameters
opthe operation to run

Implements gko::Executor.


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