alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::test::KernelExecutionFixture< TAcc > Class Template Reference

The fixture for executing a kernel on a given accelerator. More...

#include <KernelExecutionFixture.hpp>

Public Types

using Acc = TAcc
 
using Device = Dev< Acc >
 
using Dim = alpaka::Dim< Acc >
 
using Idx = alpaka::Idx< Acc >
 
using Platform = alpaka::Platform< Acc >
 
using Queue = test::DefaultQueue< Device >
 
using WorkDiv = WorkDivMembers< Dim, Idx >
 

Public Member Functions

template<typename TExtent >
 KernelExecutionFixture (Queue queue, TExtent const &extent)
 
 KernelExecutionFixture (Queue queue, WorkDiv workDiv)
 
template<typename TExtent >
 KernelExecutionFixture (TExtent const &extent)
 
 KernelExecutionFixture (WorkDiv workDiv)
 
template<typename TKernelFnObj , typename... TArgs>
auto operator() (TKernelFnObj kernelFnObj, TArgs &&... args) -> bool
 

Detailed Description

template<typename TAcc>
class alpaka::test::KernelExecutionFixture< TAcc >

The fixture for executing a kernel on a given accelerator.

Definition at line 26 of file KernelExecutionFixture.hpp.

Member Typedef Documentation

◆ Acc

template<typename TAcc >
using alpaka::test::KernelExecutionFixture< TAcc >::Acc = TAcc

Definition at line 29 of file KernelExecutionFixture.hpp.

◆ Device

template<typename TAcc >
using alpaka::test::KernelExecutionFixture< TAcc >::Device = Dev<Acc>

Definition at line 33 of file KernelExecutionFixture.hpp.

◆ Dim

template<typename TAcc >
using alpaka::test::KernelExecutionFixture< TAcc >::Dim = alpaka::Dim<Acc>

Definition at line 30 of file KernelExecutionFixture.hpp.

◆ Idx

template<typename TAcc >
using alpaka::test::KernelExecutionFixture< TAcc >::Idx = alpaka::Idx<Acc>

Definition at line 31 of file KernelExecutionFixture.hpp.

◆ Platform

template<typename TAcc >
using alpaka::test::KernelExecutionFixture< TAcc >::Platform = alpaka::Platform<Acc>

Definition at line 32 of file KernelExecutionFixture.hpp.

◆ Queue

template<typename TAcc >
using alpaka::test::KernelExecutionFixture< TAcc >::Queue = test::DefaultQueue<Device>

Definition at line 34 of file KernelExecutionFixture.hpp.

◆ WorkDiv

template<typename TAcc >
using alpaka::test::KernelExecutionFixture< TAcc >::WorkDiv = WorkDivMembers<Dim, Idx>

Definition at line 35 of file KernelExecutionFixture.hpp.

Constructor & Destructor Documentation

◆ KernelExecutionFixture() [1/4]

template<typename TAcc >
alpaka::test::KernelExecutionFixture< TAcc >::KernelExecutionFixture ( WorkDiv  workDiv)
inline

Definition at line 37 of file KernelExecutionFixture.hpp.

◆ KernelExecutionFixture() [2/4]

template<typename TAcc >
template<typename TExtent >
alpaka::test::KernelExecutionFixture< TAcc >::KernelExecutionFixture ( TExtent const &  extent)
inline

Definition at line 42 of file KernelExecutionFixture.hpp.

◆ KernelExecutionFixture() [3/4]

template<typename TAcc >
alpaka::test::KernelExecutionFixture< TAcc >::KernelExecutionFixture ( Queue  queue,
WorkDiv  workDiv 
)
inline

Definition at line 47 of file KernelExecutionFixture.hpp.

◆ KernelExecutionFixture() [4/4]

template<typename TAcc >
template<typename TExtent >
alpaka::test::KernelExecutionFixture< TAcc >::KernelExecutionFixture ( Queue  queue,
TExtent const &  extent 
)
inline

Definition at line 56 of file KernelExecutionFixture.hpp.

Member Function Documentation

◆ operator()()

template<typename TAcc >
template<typename TKernelFnObj , typename... TArgs>
auto alpaka::test::KernelExecutionFixture< TAcc >::operator() ( TKernelFnObj  kernelFnObj,
TArgs &&...  args 
) -> bool
inline

Definition at line 65 of file KernelExecutionFixture.hpp.


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