alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::trait::WarpSize< TKernelFnObj, TAcc, TSfinae > Struct Template Reference

The trait for getting the warp size required by a kernel. More...

#include <Traits.hpp>

+ Inheritance diagram for alpaka::trait::WarpSize< TKernelFnObj, TAcc, TSfinae >:

Detailed Description

template<typename TKernelFnObj, typename TAcc, typename TSfinae = void>
struct alpaka::trait::WarpSize< TKernelFnObj, TAcc, TSfinae >

The trait for getting the warp size required by a kernel.

Template Parameters
TKernelFnObjThe kernel function object.
TAccThe accelerator.

The default implementation returns 0, which lets the accelerator compiler and runtime choose the warp size.

Definition at line 103 of file Traits.hpp.


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