Public Types | Static Public Member Functions | List of all members
cv::gpu::device::Warp Struct Reference

#include <warp.hpp>

Public Types

enum  { LOG_WARP_SIZE = 5, WARP_SIZE = 1 << LOG_WARP_SIZE, STRIDE = WARP_SIZE }
 

Static Public Member Functions

static __device__
__forceinline__ unsigned int 
laneId ()
 Returns the warp lane ID of the calling thread. More...
 
template<typename It , typename T >
static __device__
__forceinline__ void 
fill (It beg, It end, const T &value)
 
template<typename InIt , typename OutIt >
static __device__
__forceinline__ OutIt 
copy (InIt beg, InIt end, OutIt out)
 
template<typename InIt , typename OutIt , class UnOp >
static __device__
__forceinline__ OutIt 
transform (InIt beg, InIt end, OutIt out, UnOp op)
 
template<typename InIt1 , typename InIt2 , typename OutIt , class BinOp >
static __device__
__forceinline__ OutIt 
transform (InIt1 beg1, InIt1 end1, InIt2 beg2, OutIt out, BinOp op)
 
template<class T , class BinOp >
static __device__ __forceinline__ T reduce (volatile T *ptr, BinOp op)
 
template<typename OutIt , typename T >
static __device__
__forceinline__ void 
yota (OutIt beg, OutIt end, T value)
 

Member Enumeration Documentation

anonymous enum
Enumerator
LOG_WARP_SIZE 
WARP_SIZE 
STRIDE 

Member Function Documentation

static __device__ __forceinline__ unsigned int cv::gpu::device::Warp::laneId ( )
static

Returns the warp lane ID of the calling thread.

template<typename It , typename T >
static __device__ __forceinline__ void cv::gpu::device::Warp::fill ( It  beg,
It  end,
const T value 
)
static
template<typename InIt , typename OutIt >
static __device__ __forceinline__ OutIt cv::gpu::device::Warp::copy ( InIt  beg,
InIt  end,
OutIt  out 
)
static
template<typename InIt , typename OutIt , class UnOp >
static __device__ __forceinline__ OutIt cv::gpu::device::Warp::transform ( InIt  beg,
InIt  end,
OutIt  out,
UnOp  op 
)
static
template<typename InIt1 , typename InIt2 , typename OutIt , class BinOp >
static __device__ __forceinline__ OutIt cv::gpu::device::Warp::transform ( InIt1  beg1,
InIt1  end1,
InIt2  beg2,
OutIt  out,
BinOp  op 
)
static
template<class T , class BinOp >
static __device__ __forceinline__ T cv::gpu::device::Warp::reduce ( volatile T ptr,
BinOp  op 
)
static
template<typename OutIt , typename T >
static __device__ __forceinline__ void cv::gpu::device::Warp::yota ( OutIt  beg,
OutIt  end,
T  value 
)
static

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