Template Class BorderWrapImpl

Nested Relationships

Nested Types

Class Documentation

template<class TW, NVCVBorderType B, bool... ActiveDimensions>
class BorderWrapImpl

Public Types

using TensorWrapper = TW
using ValueType = typename TensorWrapper::ValueType

Public Functions

BorderWrapImpl() = default
template<typename... Args> inline explicit __host__ __device__ BorderWrapImpl (TensorWrapper tensorWrap, Args... tensorShape)
inline explicit __host__ BorderWrapImpl(const TensorDataStridedCuda &tensor)
inline const __host__ __device__ TensorWrapper & tensorWrap () const
inline __host__ __device__ const int * tensorShape () const
inline __host__ __device__ ValueType borderValue () const

Public Static Attributes

static constexpr int kNumDimensions = TensorWrapper::kNumDimensions
static constexpr NVCVBorderType kBorderType = B
static constexpr bool kActiveDimensions[] = {ActiveDimensions...}
static constexpr int kNumActiveDimensions = ((ActiveDimensions ? 1 : 0) + ...)
static constexpr ActiveMap kMap = {}

Protected Attributes

const TensorWrapper m_tensorWrap = {}
int m_tensorShape[kNumActiveDimensions] = {0}
struct ActiveMap

Public Functions

inline constexpr ActiveMap()

Public Members

int from[kNumDimensions]