Skip to content

Commit

Permalink
benchdnn: inputs: add regression tests for brgconv w/ postops kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiersch authored and tprimak committed Jan 9, 2023
1 parent 4761ee9 commit f674fbf
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/benchdnn/inputs/conv/harness_conv_regression_general
Original file line number Diff line number Diff line change
Expand Up @@ -318,3 +318,22 @@ g1ic64ih31iw1oc64oh32ow1kh3kw3ph0pw0n"brgemm_conv_generate_kernels"
mb1_ic1oc1_ih1kh1ph1_iw1kw1_n"brgemm_conv_comp_pad:1"
--cfg=u8s8u8 --attr-zero-points=src0:common:1*
g3mb2_ic6oc96_ih12oh8kh1sh2dh1ph2_iw11ow7kw4sw1dw1pw1_n"brgemm_conv_comp_pad:2"

# test correct creation of post_op jit kernel for sum+elem-wise operation
--reset
--dir=FWD_I --cfg=u8s8f32
--stag=axb --dtag=axb
--attr-post-ops=sum+relu
mb1_ic5oc5_ih12oh7kh1sh2dh0ph1_iw12ow4kw7sw2dw0pw1_n"brgemm_post-op-jit_elemwise-op:1"
mb1_ic2oc2_ih10oh12kh1sh1dh0ph1_iw7ow4kw2sw2dw0pw1_n"brgemm_post-op-jit_elemwise-op:2"
g90mb1_ic360oc180_ih12oh16kh1sh1dh1ph2_iw14ow7kw3sw2dw1pw2_n"brgemm_post-op-jit_elemwise-op:3"

# test correct creation of post_op jit kernel for sum operation with zero points
--reset
--dir=FWD_I --cfg=u8s8u8
--stag=axb --dtag=axb
--attr-post-ops=sum
--attr-zero-points=dst:common:2*
mb1_ic2oc2_ih10oh12kh1sh1dh0ph1_iw7ow7kw1sw1dw0pw0_n"brgemm_post-op-jit_sum-with-zp:1"
--attr-zero-points=dst:common:2*+src:common:1*
mb1ic2ih10iw7oc2oh6ow4kh1kw1sh2sw2ph1pw0dh1dw1_n"brgemm_post-op-jit_sum-with-zp:2"

0 comments on commit f674fbf

Please sign in to comment.