OpenCV  2.4.13.2
Open Source Computer Vision
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

anonymous enum
Enumerator
LOG_WARP_SIZE 
WARP_SIZE 
STRIDE 

Member Function Documentation

§ copy()

template<typename InIt , typename OutIt >
static __device__ __forceinline__ OutIt cv::gpu::device::Warp::copy ( InIt  beg,
InIt  end,
OutIt  out 
)
inlinestatic

§ fill()

template<typename It , typename T >
static __device__ __forceinline__ void cv::gpu::device::Warp::fill ( It  beg,
It  end,
const T &  value 
)
inlinestatic

§ laneId()

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

Returns the warp lane ID of the calling thread.

§ reduce()

template<class T , class BinOp >
static __device__ __forceinline__ T cv::gpu::device::Warp::reduce ( volatile T *  ptr,
BinOp  op 
)
inlinestatic

§ transform() [1/2]

template<typename InIt , typename OutIt , class UnOp >
static __device__ __forceinline__ OutIt cv::gpu::device::Warp::transform ( InIt  beg,
InIt  end,
OutIt  out,
UnOp  op 
)
inlinestatic

§ transform() [2/2]

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 
)
inlinestatic

§ yota()

template<typename OutIt , typename T >
static __device__ __forceinline__ void cv::gpu::device::Warp::yota ( OutIt  beg,
OutIt  end,
value 
)
inlinestatic

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