we just test function, do not check size
GitOrigin-RevId: dce5387e83
release-1.1
@@ -509,7 +509,7 @@ ConvolutionBackwardDataImpl::AlgoNaive::dispatch_kern( | |||||
param.filter_type.enumv() == DTypeTrait<dt_src>::enumv && \ | param.filter_type.enumv() == DTypeTrait<dt_src>::enumv && \ | ||||
param.grad_type.enumv() == DTypeTrait<dt_dst>::enumv) { \ | param.grad_type.enumv() == DTypeTrait<dt_dst>::enumv) { \ | ||||
MIDOUT_BEGIN(megdnn_fallback_deconv, \ | MIDOUT_BEGIN(megdnn_fallback_deconv, \ | ||||
midout_iv(DTypeTrait<_dt>::enumv)) { \ | |||||
midout_iv(DTypeTrait<dt_src>::enumv)) { \ | |||||
return kern_naive<DTypeTrait<dt_src>::ctype, \ | return kern_naive<DTypeTrait<dt_src>::ctype, \ | ||||
DTypeTrait<dt_src>::ctype, \ | DTypeTrait<dt_src>::ctype, \ | ||||
DTypeTrait<dt_dst>::ctype>; \ | DTypeTrait<dt_dst>::ctype>; \ | ||||
@@ -9,13 +9,14 @@ | |||||
* "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||||
* implied. | * implied. | ||||
*/ | */ | ||||
#include "src/naive/dct/opr_impl.h" | |||||
#include <cmath> | #include <cmath> | ||||
#include "megdnn/basic_types.h" | #include "megdnn/basic_types.h" | ||||
#include "megdnn/dtype.h" | #include "megdnn/dtype.h" | ||||
#include "midout.h" | |||||
#include "src/naive/dct/opr_impl.h" | |||||
#include "src/naive/handle.h" | #include "src/naive/handle.h" | ||||
#include "src/naive/matrix_mul/matrix_mul_helper.h" | #include "src/naive/matrix_mul/matrix_mul_helper.h" | ||||
#include "midout.h" | |||||
MIDOUT_DECL(megdnn_naive_dct_fwd) | MIDOUT_DECL(megdnn_naive_dct_fwd) | ||||
namespace megdnn { | namespace megdnn { | ||||
namespace naive { | namespace naive { | ||||