You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// expected-error@+1 {{attribute 'x' failed to satisfy constraint: 32-bit signless integer attribute whose value is positive whose maximum value is 1024}}
4
+
dxsa.dcl_thread_group0, 1, 1
5
+
6
+
// -----
7
+
8
+
// expected-error@+1 {{attribute 'x' failed to satisfy constraint: 32-bit signless integer attribute whose value is positive whose maximum value is 1024}}
9
+
dxsa.dcl_thread_group1025, 1, 1
10
+
11
+
// -----
12
+
13
+
// expected-error@+1 {{attribute 'y' failed to satisfy constraint: 32-bit signless integer attribute whose value is positive whose maximum value is 1024}}
14
+
dxsa.dcl_thread_group1, 0, 1
15
+
16
+
// -----
17
+
18
+
// expected-error@+1 {{attribute 'y' failed to satisfy constraint: 32-bit signless integer attribute whose value is positive whose maximum value is 1024}}
19
+
dxsa.dcl_thread_group1, 1025, 1
20
+
21
+
// -----
22
+
23
+
// expected-error@+1 {{attribute 'z' failed to satisfy constraint: 32-bit signless integer attribute whose value is positive whose maximum value is 64}}
24
+
dxsa.dcl_thread_group1, 1, 0
25
+
26
+
// -----
27
+
28
+
// expected-error@+1 {{attribute 'z' failed to satisfy constraint: 32-bit signless integer attribute whose value is positive whose maximum value is 64}}
29
+
dxsa.dcl_thread_group1, 1, 65
30
+
31
+
// -----
32
+
33
+
// 64 * 8 * 4 == 2048
34
+
// expected-error@+1 {{'dxsa.dcl_thread_group' op thread group size x*y*z must be <= 1024, got 2048}}
0 commit comments