alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::bt::IdxBtRefThreadIdMap< TDim, TIdx > Class Template Reference

The threads accelerator index provider. More...

#include <IdxBtRefThreadIdMap.hpp>

+ Inheritance diagram for alpaka::bt::IdxBtRefThreadIdMap< TDim, TIdx >:

Public Types

using ThreadIdToIdxMap = std::map< std::thread::id, Vec< TDim, TIdx > >
 

Public Member Functions

ALPAKA_FN_HOST IdxBtRefThreadIdMap (IdxBtRefThreadIdMap const &)=delete
 
ALPAKA_FN_HOST IdxBtRefThreadIdMap (ThreadIdToIdxMap const &mThreadToIndices)
 
ALPAKA_FN_HOST auto operator= (IdxBtRefThreadIdMap const &) -> IdxBtRefThreadIdMap &=delete
 

Public Attributes

ThreadIdToIdxMap const & m_threadToIndexMap
 The mapping of thread id's to thread indices. More...
 

Detailed Description

template<typename TDim, typename TIdx>
class alpaka::bt::IdxBtRefThreadIdMap< TDim, TIdx >

The threads accelerator index provider.

Definition at line 24 of file IdxBtRefThreadIdMap.hpp.

Member Typedef Documentation

◆ ThreadIdToIdxMap

template<typename TDim , typename TIdx >
using alpaka::bt::IdxBtRefThreadIdMap< TDim, TIdx >::ThreadIdToIdxMap = std::map<std::thread::id, Vec<TDim, TIdx> >

Definition at line 27 of file IdxBtRefThreadIdMap.hpp.

Constructor & Destructor Documentation

◆ IdxBtRefThreadIdMap() [1/2]

template<typename TDim , typename TIdx >
ALPAKA_FN_HOST alpaka::bt::IdxBtRefThreadIdMap< TDim, TIdx >::IdxBtRefThreadIdMap ( ThreadIdToIdxMap const &  mThreadToIndices)
inline

Definition at line 29 of file IdxBtRefThreadIdMap.hpp.

◆ IdxBtRefThreadIdMap() [2/2]

template<typename TDim , typename TIdx >
ALPAKA_FN_HOST alpaka::bt::IdxBtRefThreadIdMap< TDim, TIdx >::IdxBtRefThreadIdMap ( IdxBtRefThreadIdMap< TDim, TIdx > const &  )
delete

Member Function Documentation

◆ operator=()

template<typename TDim , typename TIdx >
ALPAKA_FN_HOST auto alpaka::bt::IdxBtRefThreadIdMap< TDim, TIdx >::operator= ( IdxBtRefThreadIdMap< TDim, TIdx > const &  ) -> IdxBtRefThreadIdMap &=delete
delete

Member Data Documentation

◆ m_threadToIndexMap

template<typename TDim , typename TIdx >
ThreadIdToIdxMap const& alpaka::bt::IdxBtRefThreadIdMap< TDim, TIdx >::m_threadToIndexMap

The mapping of thread id's to thread indices.

Definition at line 38 of file IdxBtRefThreadIdMap.hpp.


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