NeoN
A framework for CFD software
Loading...
Searching...
No Matches
executor.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  NeoN
 Integer types used throughout NeoN.

Typedefs

using NeoN::Executor = std::variant<SerialExecutor, CPUExecutor, GPUExecutor>

Functions

void NeoN::fence (const Executor &exec)
Executor NeoN::createDefaultExecutor (std::unique_ptr< AllocatorStrategy > strategy=std::make_unique< DefaultAllocator >())
std::string NeoN::executorName (const Executor &exec)
MemorySpace NeoN::memorySpace (const Executor &exec)
std::shared_ptr< const Logging::BaseLogger > NeoN::getLogger (const Executor &exec)
void NeoN::setLogger (Executor &exec, std::shared_ptr< Logging::BaseLogger > logger)
bool NeoN::operator== (const Executor &lhs, const Executor &rhs)
 Checks if two executors are equal, i.e. they are of the same type.
bool NeoN::operator!= (const Executor &lhs, const Executor &rhs)
 Checks if two executors are not equal, i.e. they are not of the same type.