mseth10 commented on issue #20766:
URL: 
https://github.com/apache/incubator-mxnet/issues/20766#issuecomment-993495652


   I set DNNL_VERBOSE=1 and ran the following `test_deconvolution` that runs 
`check_deconvolution_forward_backward`
   
https://github.com/apache/incubator-mxnet/blob/40359ceda150ca75da6e45b1ea35d747ef53deac/tests/python/unittest/test_operator.py#L1204
   and got the following logs:
   ```
   + nosetests-3.4 --with-timer --timer-ok 1 --timer-warning 15 --timer-filter 
warning,error --verbose 
tests/python/unittest/test_operator.py:test_deconvolution
   [INFO] Setting module np/mx/python random seeds, use 
MXNET_MODULE_SEED=2101606398 to reproduce.
   [12:24:14] ../src/engine/engine.cc:55: MXNet start using engine: NaiveEngine
   test_operator.test_deconvolution ... dnnl_verbose,info,oneDNN v2.3.2 (commit 
e2d45252ae9c3e91671339579e3c0f0061f81d49)
   dnnl_verbose,info,cpu,runtime:OpenMP
   dnnl_verbose,info,cpu,isa:AArch64 (with Advanced SIMD & floating-point)
   dnnl_verbose,info,gpu,runtime:none
   
dnnl_verbose,info,prim_template:operation,engine,primitive,implementation,prop_kind,memory_descriptors,attributes,auxiliary,problem_desc,exec_time
   dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32::blocked:abcd:f0 
dst_f32::blocked:abcd:f0,,,1x1x5x5,1.26904
   dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32::blocked:abcd:f0 
dst_f32::blocked:abcd:f0,,,1x1x3x3,0.406006
   
dnnl_verbose,exec,cpu,convolution,indirect_gemm:acl,forward_training,src_f32::blocked:acdb:f0
 wei_f32::blocked:acdb:f0 bia_undef::undef::f0 
dst_f32::blocked:acdb:f0,,alg:convolution_direct,mb1_ic1oc1_ih5oh5kh3sh1dh0ph1_iw5ow5kw3sw1dw0pw1,0.710938
   [12:24:14] ../src/operator/nn/mkldnn/mkldnn_base.cc:590: test Convolution
   dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32::blocked:abcd:f0 
dst_f32::blocked:abcd:f0,,,1x1x5x5,0.296875
   dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32::blocked:abcd:f0 
dst_f32::blocked:abcd:f0,,,1x1x5x5,0.203857
   dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32::blocked:abcd:f0 
dst_f32::blocked:abcd:f0,,,1x1x3x3,0.143799
   
dnnl_verbose,exec,cpu,deconvolution,gemm:ref,forward_training,src_f32::blocked:abcd:f0
 wei_f32::blocked:abcd:f0 bia_undef::undef::f0 
dst_f32::blocked:abcd:f0,,alg:deconvolution_direct,mb1_ic1oc1_ih5oh5kh3sh1dh0ph1_iw5ow5kw3sw1dw0pw1,0.263916
   [12:24:14] ../src/operator/nn/mkldnn/mkldnn_base.cc:590: test Deconvolution
   dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32::blocked:abcd:f0 
dst_f32::blocked:abcd:f0,,,1x1x5x5,26.844
   dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32::blocked:abcd:f0 
dst_f32::blocked:abcd:f0,,,1x1x5x5,26.7649
   dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32::blocked:abcd:f0 
dst_f32::blocked:abcd:f0,,,1x1x3x3,26.749
   dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32::blocked:abcd:f0 
dst_f32::blocked:abcd:f0,,,1x1x5x5,26.7561
   dnnl_verbose,exec,cpu,reorder,simple:any,undef,src_f32::blocked:abcd:f0 
dst_f32::blocked:abcd:f0,,,1x1x3x3,26.7588
   python3: ../3rdparty/mkldnn/src/common/primitive.hpp:220: const T* 
dnnl::impl::resource_mapper_t::get(dnnl::impl::resource_mapper_t::key_t*) const 
[with T = dnnl::impl::cpu::aarch64::acl_indirect_gemm_resource_t; 
dnnl::impl::resource_mapper_t::key_t = const dnnl::impl::primitive_t]: 
Assertion `primitive_to_resource_.count(p)' failed.
   ```
   @cfRod does this show that convolution uses reference kernels but 
deconvolution calls acl?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org
For additional commands, e-mail: issues-h...@mxnet.apache.org

Reply via email to