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 1b13037 commit 63ad769
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 @@ -323,3 +323,22 @@ mb1ic8iw9973oc256ow9973kw9pw2n"brgconv_compensation_bdb_tail"
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=acdb --wtag=any --dtag=acdb
--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=acdb --wtag=any --dtag=acdb
--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 63ad769

Please sign in to comment.