OpenCV  2.4.13.4
Open Source Computer Vision
cv::gpu::device::Block Struct Reference

#include <block.hpp>

Static Public Member Functions

static __device__ __forceinline__ unsigned int id ()
 
static __device__ __forceinline__ unsigned int stride ()
 
static __device__ __forceinline__ void sync ()
 
static __device__ __forceinline__ int flattenedThreadId ()
 
template<typename It , typename T >
static __device__ __forceinline__ void fill (It beg, It end, const T &value)
 
template<typename OutIt , typename T >
static __device__ __forceinline__ void yota (OutIt beg, OutIt end, T value)
 
template<typename InIt , typename OutIt >
static __device__ __forceinline__ void copy (InIt beg, InIt end, OutIt out)
 
template<typename InIt , typename OutIt , class UnOp >
static __device__ __forceinline__ void transfrom (InIt beg, InIt end, OutIt out, UnOp op)
 
template<typename InIt1 , typename InIt2 , typename OutIt , class BinOp >
static __device__ __forceinline__ void transfrom (InIt1 beg1, InIt1 end1, InIt2 beg2, OutIt out, BinOp op)
 
template<int CTA_SIZE, typename T , class BinOp >
static __device__ __forceinline__ void reduce (volatile T *buffer, BinOp op)
 
template<int CTA_SIZE, typename T , class BinOp >
static __device__ __forceinline__ T reduce (volatile T *buffer, T init, BinOp op)
 
template<typename T , class BinOp >
static __device__ __forceinline__ void reduce_n (T *data, unsigned int n, BinOp op)
 

Member Function Documentation

§ copy()

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

§ fill()

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

§ flattenedThreadId()

static __device__ __forceinline__ int cv::gpu::device::Block::flattenedThreadId ( )
inlinestatic

§ id()

static __device__ __forceinline__ unsigned int cv::gpu::device::Block::id ( )
inlinestatic

§ reduce() [1/2]

template<int CTA_SIZE, typename T , class BinOp >
static __device__ __forceinline__ void cv::gpu::device::Block::reduce ( volatile T *  buffer,
BinOp  op 
)
inlinestatic

§ reduce() [2/2]

template<int CTA_SIZE, typename T , class BinOp >
static __device__ __forceinline__ T cv::gpu::device::Block::reduce ( volatile T *  buffer,
init,
BinOp  op 
)
inlinestatic

§ reduce_n()

template<typename T , class BinOp >
static __device__ __forceinline__ void cv::gpu::device::Block::reduce_n ( T *  data,
unsigned int  n,
BinOp  op 
)
inlinestatic

§ stride()

static __device__ __forceinline__ unsigned int cv::gpu::device::Block::stride ( )
inlinestatic

§ sync()

static __device__ __forceinline__ void cv::gpu::device::Block::sync ( )
inlinestatic

§ transfrom() [1/2]

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

§ transfrom() [2/2]

template<typename InIt1 , typename InIt2 , typename OutIt , class BinOp >
static __device__ __forceinline__ void cv::gpu::device::Block::transfrom ( InIt1  beg1,
InIt1  end1,
InIt2  beg2,
OutIt  out,
BinOp  op 
)
inlinestatic

§ yota()

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

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