mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-07-15 11:34:54 +00:00
bwd weight dl v4 - v0
This commit is contained in:
@@ -20,3 +20,7 @@ add_example_dependencies(example_grouped_conv_bwd_weight example_grouped_conv_bw
|
||||
|
||||
add_example_executable(example_grouped_conv_bwd_weight_v3_xdl_fp16 grouped_conv_bwd_weight_v3_xdl_fp16.cpp)
|
||||
add_example_dependencies(example_grouped_conv_bwd_weight example_grouped_conv_bwd_weight_v3_xdl_fp16)
|
||||
|
||||
|
||||
add_example_executable(example_grouped_conv_bwd_weight_dl_v4_fp16 grouped_conv_bwd_weight_dl_v4_fp16.cpp)
|
||||
target_compile_options(example_grouped_conv_bwd_weight_dl_v4_fp16 PRIVATE -save-temps=obj -Wno-gnu-line-marker)
|
||||
File diff suppressed because it is too large
Load Diff
@@ -23,15 +23,25 @@ using ELayout = ck::tensor_layout::convolution::GNHWK;
|
||||
template <ck::index_t NDimSpatial>
|
||||
using DeviceConvBwdWeightInstance =
|
||||
ck::tensor_operation::device::DeviceGroupedConvBwdWeightDlV4<NDimSpatial,
|
||||
256,
|
||||
ALayout,
|
||||
BLayout,
|
||||
ELayout,
|
||||
InDataType,
|
||||
WeiDataType,
|
||||
OutDataType,
|
||||
S<28, 28>,
|
||||
5,
|
||||
ck::Tuple<S<1,1>, S<1,1>, S<2,2>>,
|
||||
InElementOp,
|
||||
WeiElementOp,
|
||||
OutElementOp>;
|
||||
OutElementOp,
|
||||
2, // N batch
|
||||
1, // NumWavePerTile
|
||||
4, // InScalarPerVector
|
||||
4, // OutScalarPerVector
|
||||
2, // DstScalarPerVector
|
||||
false>;
|
||||
|
||||
template <ck::index_t NDimSpatial>
|
||||
using HostConvBwdWeightInstance = ck::tensor_operation::host::ReferenceConvBwdWeight<NDimSpatial,
|
||||
|
||||
Reference in New Issue
Block a user