Skip to content

Commit 63ad769

Browse files
kwierschtprimak
authored andcommitted
benchdnn: inputs: add regression tests for brgconv w/ postops kernel
1 parent 1b13037 commit 63ad769

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

tests/benchdnn/inputs/conv/harness_conv_regression_general

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,3 +323,22 @@ mb1ic8iw9973oc256ow9973kw9pw2n"brgconv_compensation_bdb_tail"
323323
mb1_ic1oc1_ih1kh1ph1_iw1kw1_n"brgemm_conv_comp_pad:1"
324324
--cfg=u8s8u8 --attr-zero-points=src0:common:1*
325325
g3mb2_ic6oc96_ih12oh8kh1sh2dh1ph2_iw11ow7kw4sw1dw1pw1_n"brgemm_conv_comp_pad:2"
326+
327+
# test correct creation of post_op jit kernel for sum+elem-wise operation
328+
--reset
329+
--dir=FWD_I --cfg=u8s8f32
330+
--stag=acdb --wtag=any --dtag=acdb
331+
--attr-post-ops=sum+relu
332+
mb1_ic5oc5_ih12oh7kh1sh2dh0ph1_iw12ow4kw7sw2dw0pw1_n"brgemm_post-op-jit_elemwise-op:1"
333+
mb1_ic2oc2_ih10oh12kh1sh1dh0ph1_iw7ow4kw2sw2dw0pw1_n"brgemm_post-op-jit_elemwise-op:2"
334+
g90mb1_ic360oc180_ih12oh16kh1sh1dh1ph2_iw14ow7kw3sw2dw1pw2_n"brgemm_post-op-jit_elemwise-op:3"
335+
336+
# test correct creation of post_op jit kernel for sum operation with zero points
337+
--reset
338+
--dir=FWD_I --cfg=u8s8u8
339+
--stag=acdb --wtag=any --dtag=acdb
340+
--attr-post-ops=sum
341+
--attr-zero-points=dst:common:2*
342+
mb1_ic2oc2_ih10oh12kh1sh1dh0ph1_iw7ow7kw1sw1dw0pw0_n"brgemm_post-op-jit_sum-with-zp:1"
343+
--attr-zero-points=dst:common:2*+src:common:1*
344+
mb1ic2ih10iw7oc2oh6ow4kh1kw1sh2sw2ph1pw0dh1dw1_n"brgemm_post-op-jit_sum-with-zp:2"

0 commit comments

Comments
 (0)