alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::onHost::cpu::Serial< T_ThreadSpec > Struct Template Reference

#include <Serial.hpp>

Public Types

using NumThreadsVecType = typename T_ThreadSpec::NumThreadsVecType

Public Member Functions

constexpr Serial (T_ThreadSpec threadBlocking, uint32_t numaIdx, bool setThreadAffinity)
void operator() (auto const &kernelBundle, auto const &dict) const

Public Attributes

uint32_t m_numaIdx
bool m_setThreadAffinity
T_ThreadSpec m_threadBlocking

Detailed Description

template<onHost::concepts::ThreadSpec T_ThreadSpec>
struct alpaka::onHost::cpu::Serial< T_ThreadSpec >

Definition at line 26 of file Serial.hpp.

Member Typedef Documentation

◆ NumThreadsVecType

template<onHost::concepts::ThreadSpec T_ThreadSpec>
using alpaka::onHost::cpu::Serial< T_ThreadSpec >::NumThreadsVecType = typename T_ThreadSpec::NumThreadsVecType

Definition at line 28 of file Serial.hpp.

Constructor & Destructor Documentation

◆ Serial()

template<onHost::concepts::ThreadSpec T_ThreadSpec>
alpaka::onHost::cpu::Serial< T_ThreadSpec >::Serial ( T_ThreadSpec threadBlocking,
uint32_t numaIdx,
bool setThreadAffinity )
inlineconstexpr

Definition at line 30 of file Serial.hpp.

Member Function Documentation

◆ operator()()

template<onHost::concepts::ThreadSpec T_ThreadSpec>
void alpaka::onHost::cpu::Serial< T_ThreadSpec >::operator() ( auto const & kernelBundle,
auto const & dict ) const
inline

Definition at line 41 of file Serial.hpp.

Member Data Documentation

◆ m_numaIdx

template<onHost::concepts::ThreadSpec T_ThreadSpec>
uint32_t alpaka::onHost::cpu::Serial< T_ThreadSpec >::m_numaIdx

Definition at line 87 of file Serial.hpp.

◆ m_setThreadAffinity

template<onHost::concepts::ThreadSpec T_ThreadSpec>
bool alpaka::onHost::cpu::Serial< T_ThreadSpec >::m_setThreadAffinity

Definition at line 88 of file Serial.hpp.

◆ m_threadBlocking

template<onHost::concepts::ThreadSpec T_ThreadSpec>
T_ThreadSpec alpaka::onHost::cpu::Serial< T_ThreadSpec >::m_threadBlocking

Definition at line 86 of file Serial.hpp.


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