Patch for bwd data comments (#174)

* change function name and way to set input zero

* change enable if

[ROCm/composable_kernel commit: 6717168c18]
This commit is contained in:
ltqin
2022-04-05 09:33:53 +08:00
committed by GitHub
parent 8db6e759dc
commit 4012dedcbd
4 changed files with 26 additions and 26 deletions

View File

@@ -336,8 +336,7 @@ bool profile_convnd_bwd_data_impl(int do_verification,
wei_device_buf.ToDevice(weights.mData.data());
// reset input to zero
input_device_result.GenerateTensorValue(GeneratorTensor_1<InDataType>{0});
in_device_buf.ToDevice(input_device_result.mData.data());
in_device_buf.SetZero();
if(do_verification)
{