alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::TaskKernelCpuOmp2Threads< TDim, TIdx, TKernelFnObj, TArgs > Class Template Reference

The CPU OpenMP 2.0 thread accelerator execution task. More...

#include <TaskKernelCpuOmp2Threads.hpp>

+ Inheritance diagram for alpaka::TaskKernelCpuOmp2Threads< TDim, TIdx, TKernelFnObj, TArgs >:

Public Member Functions

template<typename TWorkDiv >
ALPAKA_FN_HOST TaskKernelCpuOmp2Threads (TWorkDiv &&workDiv, TKernelFnObj const &kernelFnObj, TArgs &&... args)
 
ALPAKA_FN_HOST auto operator() () const -> void
 Executes the kernel function object. More...
 
- Public Member Functions inherited from alpaka::WorkDivMembers< TDim, TIdx >
ALPAKA_FN_HOST_ACC WorkDivMembers ()=delete
 
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC WorkDivMembers (alpaka::Vec< TDim, TIdx > const &gridBlockExtent, alpaka::Vec< TDim, TIdx > const &blockThreadExtent, alpaka::Vec< TDim, TIdx > const &elemExtent)
 Accepts single specific type and is called without explicit template parameters. More...
 
template<typename TGridBlockExtent , typename TBlockThreadExtent , typename TThreadElemExtent >
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC WorkDivMembers (TGridBlockExtent const &gridBlockExtent=TGridBlockExtent(), TBlockThreadExtent const &blockThreadExtent=TBlockThreadExtent(), TThreadElemExtent const &threadElemExtent=TThreadElemExtent())
 Accepts different alpaka vector types and takes the last TDim number of items. More...
 
template<typename TWorkDiv >
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC WorkDivMembers (TWorkDiv const &other)
 
 WorkDivMembers (WorkDivMembers &&)=default
 
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC WorkDivMembers (WorkDivMembers const &other)
 
template<typename TWorkDiv >
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC auto operator= (TWorkDiv const &other) -> WorkDivMembers< TDim, TIdx > &
 
auto operator= (WorkDivMembers &&) -> WorkDivMembers &=default
 
auto operator= (WorkDivMembers const &) -> WorkDivMembers &=default
 

Additional Inherited Members

- Public Attributes inherited from alpaka::WorkDivMembers< TDim, TIdx >
Vec< TDim, TIdx > m_blockThreadExtent
 
Vec< TDim, TIdx > m_gridBlockExtent
 
Vec< TDim, TIdx > m_threadElemExtent
 

Detailed Description

template<typename TDim, typename TIdx, typename TKernelFnObj, typename... TArgs>
class alpaka::TaskKernelCpuOmp2Threads< TDim, TIdx, TKernelFnObj, TArgs >

The CPU OpenMP 2.0 thread accelerator execution task.

Definition at line 44 of file TaskKernelCpuOmp2Threads.hpp.

Constructor & Destructor Documentation

◆ TaskKernelCpuOmp2Threads()

template<typename TDim , typename TIdx , typename TKernelFnObj , typename... TArgs>
template<typename TWorkDiv >
ALPAKA_FN_HOST alpaka::TaskKernelCpuOmp2Threads< TDim, TIdx, TKernelFnObj, TArgs >::TaskKernelCpuOmp2Threads ( TWorkDiv &&  workDiv,
TKernelFnObj const &  kernelFnObj,
TArgs &&...  args 
)
inline

Definition at line 48 of file TaskKernelCpuOmp2Threads.hpp.

Member Function Documentation

◆ operator()()

template<typename TDim , typename TIdx , typename TKernelFnObj , typename... TArgs>
ALPAKA_FN_HOST auto alpaka::TaskKernelCpuOmp2Threads< TDim, TIdx, TKernelFnObj, TArgs >::operator() ( ) const -> void
inline

Executes the kernel function object.

Definition at line 59 of file TaskKernelCpuOmp2Threads.hpp.


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