OpenCV  2.4.13
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
Enumerator
LOG_WARP_SIZE 
WARP_SIZE 
STRIDE 

Member Function Documentation

template<typename InIt , typename OutIt >
static __device__ __forceinline__ OutIt cv::gpu::device::Warp::copy ( InIt  beg,
InIt  end,
OutIt  out 
)
inlinestatic
template<typename It , typename T >
static __device__ __forceinline__ void cv::gpu::device::Warp::fill ( It  beg,
It  end,
const T &  value 
)
inlinestatic
static __device__ __forceinline__ unsigned int cv::gpu::device::Warp::laneId ( )
inlinestatic

Returns the warp lane ID of the calling thread.

template<class T , class BinOp >
static __device__ __forceinline__ T cv::gpu::device::Warp::reduce ( volatile T *  ptr,
BinOp  op 
)
inlinestatic
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
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
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: