Point Cloud Library (PCL)  1.9.1-dev
List of all members | Static Public Member Functions
pcl::device::Block Struct Reference

#include </__w/1/s/gpu/kinfu/src/cuda/utils.hpp>

Static Public Member Functions

static __device__ __forceinline__ unsigned int stride ()
 
static __device__ __forceinline__ int flattenedThreadId ()
 
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)
 
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 transform (InIt beg, InIt end, OutIt out, UnOp op)
 
template<typename InIt1 , typename InIt2 , typename OutIt , class BinOp >
static __device__ __forceinline__ void transform (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)
 

Detailed Description

Definition at line 479 of file utils.hpp.

Member Function Documentation

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

Definition at line 88 of file block.hpp.

References flattenedThreadId(), and stride().

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

Definition at line 67 of file block.hpp.

References flattenedThreadId(), and stride().

static __device__ __forceinline__ int pcl::device::Block::flattenedThreadId ( )
inlinestatic

Definition at line 61 of file block.hpp.

static __device__ __forceinline__ int pcl::device::Block::flattenedThreadId ( )
inlinestatic
static __device__ __forceinline__ unsigned int pcl::device::Block::id ( )
inlinestatic

Definition at line 46 of file block.hpp.

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

Definition at line 122 of file block.hpp.

References flattenedThreadId().

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

Definition at line 144 of file block.hpp.

References flattenedThreadId().

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

Definition at line 493 of file utils.hpp.

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

Definition at line 515 of file utils.hpp.

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

Definition at line 169 of file block.hpp.

References flattenedThreadId(), and stride().

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

Definition at line 51 of file block.hpp.

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

Definition at line 481 of file utils.hpp.

Referenced by copy(), fill(), reduce_n(), transform(), and yota().

static __device__ __forceinline__ void pcl::device::Block::sync ( )
inlinestatic

Definition at line 56 of file block.hpp.

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

Definition at line 99 of file block.hpp.

References flattenedThreadId(), and stride().

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

Definition at line 110 of file block.hpp.

References flattenedThreadId(), and stride().

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

Definition at line 77 of file block.hpp.

References flattenedThreadId(), and stride().


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