TensorBatchWrap shortcuts
- group NVCV_CPP_CUDATOOLS_TENSORBATCHWRAPS
Specializes TensorBatchWrap template classes to different dimensions.
The specializations have the last dimension as the only compile-time dimension as size of T. All other dimensions have run-time pitch and must be provided.
Template arguments:
T data type of each element in TensorBatchWrap
See also
Typedefs
-
template<typename T, int N>
using TensorBatchNDWrap = std::conditional_t<N == 1, TensorBatch1DWrap<T>, std::conditional_t<N == 2, TensorBatch2DWrap<T>, std::conditional_t<N == 3, TensorBatch3DWrap<T>, std::conditional_t<N == 4, TensorBatch4DWrap<T>, std::conditional_t<N == 5, TensorBatch5DWrap<T>, void>>>>>