device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp Source File#
device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp
Go to the documentation of this file.
float launch_and_time_kernel(const StreamConfig &stream_config, F kernel, dim3 grid_dim, dim3 block_dim, std::size_t lds_byte, Args... args)
Definition host_utility/kernel_launch.hpp:14
Definition convolution_backward_data_specialization.hpp:8
Definition convolution_backward_data_specialization.hpp:7
Definition ck.hpp:268
Definition ck/stream_config.hpp:10
Definition device_base.hpp:197
BaseArgument()=default
BaseInvoker()=default
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:42
const InDataType * p_in_
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:84
std::vector< index_t > out_spatial_lengths_
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:82
const WeiDataType * p_wei_
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:85
InElementwiseOperation in_element_op_
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:88
utils::conv::ConvParams params_
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:81
Argument(const InDataType *p_in, const WeiDataType *p_wei, OutDataType *p_out, const index_t N, const index_t K, const index_t C, std::vector< ck::index_t > input_spatial_lengths, std::vector< ck::index_t > filter_spatial_lengths, std::vector< ck::index_t > output_spatial_lengths, std::vector< ck::index_t > conv_filter_strides, std::vector< ck::index_t > conv_filter_dilations, std::vector< ck::index_t > input_left_pads, std::vector< ck::index_t > input_right_pads, InElementwiseOperation in_element_op, WeiElementwiseOperation wei_element_op, OutElementwiseOperation out_element_op)
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:43
OutElementwiseOperation out_element_op_
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:90
WeiElementwiseOperation wei_element_op_
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:89
OutDataType * p_out_
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:86
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:95
float Run(const Argument &arg, const StreamConfig &stream_config=StreamConfig{})
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:98
DeviceOp::Argument Argument
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:96
float Run(const BaseArgument *p_arg, const StreamConfig &stream_config=StreamConfig{}) override
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:143
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:31
std::unique_ptr< BaseInvoker > MakeInvokerPointer() override
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:248
InDataType ABDataType
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:38
static auto MakeInvoker()
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:207
std::unique_ptr< BaseArgument > MakeArgumentPointer(const void *p_in, const void *p_wei, void *p_out, const index_t N, const index_t K, const index_t C, std::vector< ck::index_t > input_spatial_lengths, std::vector< ck::index_t > filter_spatial_lengths, std::vector< ck::index_t > output_spatial_lengths, std::vector< ck::index_t > conv_filter_strides, std::vector< ck::index_t > conv_filter_dilations, std::vector< ck::index_t > input_left_pads, std::vector< ck::index_t > input_right_pads, InElementwiseOperation in_element_op, WeiElementwiseOperation wei_element_op, OutElementwiseOperation out_element_op) override
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:211
static constexpr bool IsValidCompilationParameter()
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:150
WeiDataType BDataType
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:35
OutDataType CDataType
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:36
static auto MakeArgument(const InDataType *p_in, const WeiDataType *p_wei, OutDataType *p_out, const index_t N, const index_t K, const index_t C, std::vector< ck::index_t > input_spatial_lengths, std::vector< ck::index_t > filter_spatial_lengths, std::vector< ck::index_t > output_spatial_lengths, std::vector< ck::index_t > conv_filter_strides, std::vector< ck::index_t > conv_filter_dilations, std::vector< ck::index_t > input_left_pads, std::vector< ck::index_t > input_right_pads, InElementwiseOperation in_element_op, WeiElementwiseOperation wei_element_op, OutElementwiseOperation out_element_op)
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:172
InDataType ADataType
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:34
DeviceConv3dFwdNaive_Input_N_Di_Hi_Wi_C_Weight_K_Z_Y_X_C_Output_N_Do_Ho_Wo_K DeviceOp
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:32
static bool IsSupportedArgument(const Argument &arg)
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:156
bool IsSupportedArgument(const BaseArgument *p_arg) override
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:167
std::string GetTypeString() const override
Definition device_conv3d_fwd_naive_ndhwc_kzyxc_ndhwk.hpp:253
Definition device_conv_fwd.hpp:25