ComputePtrOffsetOfStridedBatch< NumATensor, NumBTensor, NumDTensor, enable_if_t<(NumATensor==1 &&NumBTensor==1)> > Struct Template Reference#
ck::tensor_operation::device::ComputePtrOffsetOfStridedBatch< NumATensor, NumBTensor, NumDTensor, enable_if_t<(NumATensor==1 &&NumBTensor==1)> > Struct Template Reference
#include <device_grouped_conv_utils.hpp>
Public Member Functions | |
| ComputePtrOffsetOfStridedBatch ()=default | |
| ComputePtrOffsetOfStridedBatch (long_index_t BatchStrideA, long_index_t BatchStrideB, Array< long_index_t, NumDTensor > BatchStrideDs, long_index_t BatchStrideE) | |
| __host__ __device__ constexpr long_index_t | GetAPtrOffset (index_t g_idx) const |
| __host__ __device__ constexpr long_index_t | GetBPtrOffset (index_t g_idx) const |
| __host__ __device__ constexpr auto | GetDsPtrOffset (index_t g_idx) const |
| __host__ __device__ constexpr long_index_t | GetEPtrOffset (index_t g_idx) const |
| __host__ __device__ constexpr long_index_t | GetCPtrOffset (index_t g_idx) const |
Public Attributes | |
| long_index_t | BatchStrideA_ |
| long_index_t | BatchStrideB_ |
| Array< long_index_t, NumDTensor > | BatchStrideDs_ |
| long_index_t | BatchStrideE_ |
| long_index_t & | BatchStrideC_ = BatchStrideE_ |
Constructor & Destructor Documentation
◆ ComputePtrOffsetOfStridedBatch() [1/2]
|
default |
◆ ComputePtrOffsetOfStridedBatch() [2/2]
|
inline |
Member Function Documentation
◆ GetAPtrOffset()
|
inlineconstexpr |
◆ GetBPtrOffset()
|
inlineconstexpr |
◆ GetCPtrOffset()
|
inlineconstexpr |
◆ GetDsPtrOffset()
|
inlineconstexpr |
◆ GetEPtrOffset()
|
inlineconstexpr |
Member Data Documentation
◆ BatchStrideA_
| long_index_t ck::tensor_operation::device::ComputePtrOffsetOfStridedBatch< NumATensor, NumBTensor, NumDTensor, enable_if_t<(NumATensor==1 &&NumBTensor==1)> >::BatchStrideA_ |
◆ BatchStrideB_
| long_index_t ck::tensor_operation::device::ComputePtrOffsetOfStridedBatch< NumATensor, NumBTensor, NumDTensor, enable_if_t<(NumATensor==1 &&NumBTensor==1)> >::BatchStrideB_ |
◆ BatchStrideC_
| long_index_t& ck::tensor_operation::device::ComputePtrOffsetOfStridedBatch< NumATensor, NumBTensor, NumDTensor, enable_if_t<(NumATensor==1 &&NumBTensor==1)> >::BatchStrideC_ = BatchStrideE_ |
◆ BatchStrideDs_
| Array<long_index_t, NumDTensor> ck::tensor_operation::device::ComputePtrOffsetOfStridedBatch< NumATensor, NumBTensor, NumDTensor, enable_if_t<(NumATensor==1 &&NumBTensor==1)> >::BatchStrideDs_ |
◆ BatchStrideE_
| long_index_t ck::tensor_operation::device::ComputePtrOffsetOfStridedBatch< NumATensor, NumBTensor, NumDTensor, enable_if_t<(NumATensor==1 &&NumBTensor==1)> >::BatchStrideE_ |
The documentation for this struct was generated from the following file: