Skip to content

Commit 015ccb1

Browse files
kealan-barbierivpirogov
authored andcommitted
tests: benchdnn: matmul: add decomp coverage to gpu
1 parent dc2701a commit 015ccb1

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

tests/benchdnn/inputs/matmul/test_matmul_gpu

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,44 @@
9595
--attr-post-ops=sum+add:f32+add:u8:per_dim_01+mul:f32:per_dim_0+add:s8:per_tensor+add:f32:per_dim_01+linear:2:-1
9696
1x5x4x3x30x2:6x1x4x3x2x20
9797

98+
### int8 wei decomp
99+
--reset
100+
--stag=ab,ba
101+
--dt=bf16:s8:bf16,bf16:u8:bf16
102+
--attr-scales=wei:common:2,wei:per_oc:bf16
103+
--attr-fpmath=bf16:true
104+
--batch=shapes_2d
105+
106+
--reset
107+
--stag=ab,ba
108+
--dt=f16:s8:f16,f16:u8:f16
109+
--attr-scales=wei:common:2,wei:per_oc,wei:per_ocic:f16
110+
--attr-zero-points=,wei:common:2,wei:per_oc,wei:per_ocic:s8
111+
--attr-fpmath=f16:true
112+
--batch=shapes_2d_ci
113+
114+
--stag=abc,acb
115+
--dt=bf16:s8:bf16,bf16:u8:bf16
116+
--attr-scales=wei:per_ocic:bf16:2x1
117+
--attr-zero-points=,wei:per_ocic:u8:4x1
118+
--attr-fpmath=bf16:true
119+
1x5x12:1x12x17
120+
3x5x12:3x12x17
121+
3x5x12:1x12x17
122+
123+
### int4 wei decomp
124+
--reset
125+
--dt=bf16:s4:bf16,bf16:u4:bf16
126+
--stag=abc,acb
127+
--attr-scales=wei:common:2,wei:per_oc:bf16,wei:per_ocic:bf16:32x1
128+
# There is no support for a common u4/s4 zero point
129+
--attr-zero-points=wei:per_oc:u4,wei:per_ocic:s4,wei:per_ocic:s4:32x1
130+
--attr-fpmath=bf16:true
131+
7x6x32:7x32x64
132+
7x6x32:1x32x64
133+
3x6x96:3x96x64
134+
3x6x96:1x96x64
135+
98136
# Test layers of some key and ext GPU DL Frameworks
99137
--reset
100138
--batch=option_set_fwks_key_gpu

0 commit comments

Comments
 (0)