--reset

--bia_dt=undef
# Post-ops check for different data types
--cfg=f32,bf16bf16bf16,u8s8s8,s8s8f32
--attr-post-ops=, \
                sum:0.5, \
                linear:2:1, \
                add:f32, \
                mul:s8:per_oc+sum:0.25+relu:0.5+add:f32:per_tensor
--batch=shapes_2d_ci
--batch=shapes_3d

# Sum with different data type
--cfg=f32
--attr-post-ops=sum:0.25:0:s32
--batch=shapes_2d
--batch=shapes_3d
--cfg=u8s8s8
--attr-post-ops=sum:0.25:0:u8
--batch=shapes_2d
--batch=shapes_3d

--attr-post-ops=

# Output scale check
--cfg=f32,bf16bf16bf16,u8s8u8,s8s8s32,s8s8f32
--attr-oscale=common:2.25,per_oc:2.25,common:0.5*,per_oc:5*
--batch=shapes_2d_ci
--batch=shapes_3d
--attr-oscale=

# Zero-points check
--cfg=s8s8s8,u8s8f32,u8s8bf16
--attr-zero-points=src:common:1+wei:common:-1+dst:common:2, \
                   src:common:-1+wei:common:1, \
                   src:per_dim_1:-1*+wei:common:1*+dst:common:2*
--batch=shapes_2d_ci
--batch=shapes_3d
--attr-zero-points=

# Run-time dimensions check
--cfg=f32,bf16bf16bf16
--stag=ab,ba --wtag=ab,ba --dtag=ab,ba
--runtime_dims_masks=15:15
--batch=shapes_2d_ci

--stag=abc,acb --wtag=abc,acb --dtag=abc,acb
--runtime_dims_masks=15:15
--batch=shapes_3d

--cfg=s8s8s8,u8s8f32,u8s8bf16
--stag=ab --wtag=ab --dtag=ab
--runtime_dims_masks=15:15
--batch=shapes_2d_ci

# Test bf32, tf32 data type configuration
--reset
--skip-impl=ref,x64:gemm
--cfg=f32 --attr-fpmath=bf16,tf32
77x133:133x117
15x24x16:15x16x32
7x16x24x8:7x16x8x24

# test all the supported data type configurations + bias data types
--reset
--cfg=f32
--bia_dt=undef,f32
--bia_mask=2,3  77x133:133x117
--bia_mask=4,6  15x24x16:15x16x32
--bia_mask=8,12 7x16x24x8:7x16x8x24

--cfg=bf16bf16bf16,bf16bf16f32
--bia_dt=undef,f32,bf16
--bia_mask=2,3  77x133:133x117
--bia_mask=4,6  15x24x16:15x16x32
--bia_mask=8,12 7x16x24x8:7x16x8x24

--cfg=u8s8f32,u8s8s32,u8s8s8,u8s8u8,s8s8f32,s8s8s32,s8s8s8,s8s8u8,s8s8bf16,u8s8bf16
--bia_dt=undef,f32,bf16,u8,s8,s32
--bia_mask=2,3  77x133:133x117
--bia_mask=4,6  15x24x16:15x16x32
--bia_mask=8,12 7x16x24x8:7x16x8x24
