device_grouped_conv_utils.hpp Source File#
device_grouped_conv_utils.hpp
Go to the documentation of this file.
142template <index_t NumATensor = 1, index_t NumBTensor = 1, index_t NumDTensor = 0, typename = void>
Definition convolution_backward_data_specialization.hpp:8
constexpr bool is_NWGC_GKXC_NWGK()
Definition device_grouped_conv_utils.hpp:15
constexpr bool is_NSpatialGC_GKSpatial_NSpatialGK()
Definition device_grouped_conv_utils.hpp:119
constexpr bool is_GNWC_GKXC_GNWK()
Definition device_grouped_conv_utils.hpp:23
constexpr bool is_GNDHWC_GKZYXC_GNDHWK()
Definition device_grouped_conv_utils.hpp:88
constexpr bool is_NGCSpatial_GKSpatial_NGKSpatial()
Definition device_grouped_conv_utils.hpp:135
constexpr bool is_NHWGC_GKYXC_NHWGK()
Definition device_grouped_conv_utils.hpp:40
constexpr bool is_NGCHW_GKYXC_NGKHW()
Definition device_grouped_conv_utils.hpp:56
constexpr bool is_NDHWGC_GKZYXC_NDHWGK()
Definition device_grouped_conv_utils.hpp:80
constexpr bool is_NGCDHW_NGKDHW()
Definition device_grouped_conv_utils.hpp:112
constexpr bool is_NGCW_GKXC_NGKW()
Definition device_grouped_conv_utils.hpp:31
constexpr bool is_NGCHW_GKCYX_NGKHW()
Definition device_grouped_conv_utils.hpp:64
constexpr bool is_GNSpatialC_GKSpatial_GNSpatialK()
Definition device_grouped_conv_utils.hpp:127
constexpr bool is_NGCDHW_GKZYXC_NGKDHW()
Definition device_grouped_conv_utils.hpp:96
constexpr bool is_GNHWC_GKYXC_GNHWK()
Definition device_grouped_conv_utils.hpp:48
constexpr bool is_NGCDHW_GKCZYX_NGKDHW()
Definition device_grouped_conv_utils.hpp:104
constexpr bool is_NGCHW_NGKHW()
Definition device_grouped_conv_utils.hpp:72
Definition convolution_backward_data_specialization.hpp:7
Definition ck.hpp:268
typename tuple_element< I, TTuple >::type tuple_element_t
Definition utility/tuple.hpp:208
Definition utility/array.hpp:14
Definition functional2.hpp:33
Array< long_index_t, NumDTensor > BatchStrideDs_
Definition device_grouped_conv_utils.hpp:258
long_index_t BatchStrideA_
Definition device_grouped_conv_utils.hpp:256
__host__ __device__ constexpr long_index_t GetBPtrOffset(index_t g_idx) const
Definition device_grouped_conv_utils.hpp:232
long_index_t BatchStrideB_
Definition device_grouped_conv_utils.hpp:257
__host__ __device__ constexpr long_index_t GetAPtrOffset(index_t g_idx) const
Definition device_grouped_conv_utils.hpp:227
long_index_t BatchStrideE_
Definition device_grouped_conv_utils.hpp:259
ComputePtrOffsetOfStridedBatch()=default
__host__ __device__ constexpr long_index_t GetCPtrOffset(index_t g_idx) const
Definition device_grouped_conv_utils.hpp:251
__host__ __device__ constexpr long_index_t GetEPtrOffset(index_t g_idx) const
Definition device_grouped_conv_utils.hpp:245
long_index_t & BatchStrideC_
Definition device_grouped_conv_utils.hpp:260
ComputePtrOffsetOfStridedBatch(long_index_t BatchStrideA, long_index_t BatchStrideB, Array< long_index_t, NumDTensor > BatchStrideDs, long_index_t BatchStrideE)
Definition device_grouped_conv_utils.hpp:216
__host__ __device__ constexpr auto GetDsPtrOffset(index_t g_idx) const
Definition device_grouped_conv_utils.hpp:237
ComputePtrOffsetOfStridedBatch(Array< long_index_t, NumATensor > &BatchStrideAs, Array< long_index_t, NumBTensor > &BatchStrideBs, Array< long_index_t, NumDTensor > &BatchStrideDs, long_index_t BatchStrideE)
Definition device_grouped_conv_utils.hpp:155
__host__ __device__ constexpr long_index_t GetCPtrOffset(index_t g_idx) const
Definition device_grouped_conv_utils.hpp:196
__host__ __device__ constexpr auto GetAsPtrOffset(index_t g_idx) const
Definition device_grouped_conv_utils.hpp:166
__host__ __device__ constexpr auto GetBsPtrOffset(index_t g_idx) const
Definition device_grouped_conv_utils.hpp:174
ComputePtrOffsetOfStridedBatch()=default
Array< long_index_t, NumATensor > BatchStrideA_
Definition device_grouped_conv_utils.hpp:201
long_index_t & BatchStrideC_
Definition device_grouped_conv_utils.hpp:205
Array< long_index_t, NumBTensor > BatchStrideB_
Definition device_grouped_conv_utils.hpp:202
Array< long_index_t, NumDTensor > BatchStrideDs_
Definition device_grouped_conv_utils.hpp:203
long_index_t BatchStrideE_
Definition device_grouped_conv_utils.hpp:204
__host__ __device__ constexpr auto GetDsPtrOffset(index_t g_idx) const
Definition device_grouped_conv_utils.hpp:182
__host__ __device__ constexpr long_index_t GetEPtrOffset(index_t g_idx) const
Definition device_grouped_conv_utils.hpp:190