yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Jeff BolzAdd error for coopmat *= scalar with bf16/fp8.98beacdb

main
4.2 KiB46 linesraw
1spv.bfloat16_error.comp
2ERROR: 0:31: 'assign' :  cannot convert from ' temp uint8_t' to ' temp bfloat16_t'
3ERROR: 0:32: 'assign' :  cannot convert from ' temp uint16_t' to ' temp bfloat16_t'
4ERROR: 0:33: 'assign' :  cannot convert from ' temp highp uint' to ' temp bfloat16_t'
5ERROR: 0:34: 'assign' :  cannot convert from ' temp uint64_t' to ' temp bfloat16_t'
6ERROR: 0:35: 'assign' :  cannot convert from ' temp int8_t' to ' temp bfloat16_t'
7ERROR: 0:36: 'assign' :  cannot convert from ' temp int16_t' to ' temp bfloat16_t'
8ERROR: 0:37: 'assign' :  cannot convert from ' temp highp int' to ' temp bfloat16_t'
9ERROR: 0:38: 'assign' :  cannot convert from ' temp int64_t' to ' temp bfloat16_t'
10ERROR: 0:40: 'assign' :  cannot convert from ' temp float16_t' to ' temp bfloat16_t'
11ERROR: 0:41: 'assign' :  cannot convert from ' temp highp float' to ' temp bfloat16_t'
12ERROR: 0:42: 'assign' :  cannot convert from ' temp double' to ' temp bfloat16_t'
13ERROR: 0:43: 'assign' :  cannot convert from ' temp bfloat16_t' to ' temp uint8_t'
14ERROR: 0:44: 'assign' :  cannot convert from ' temp bfloat16_t' to ' temp uint16_t'
15ERROR: 0:45: 'assign' :  cannot convert from ' temp bfloat16_t' to ' temp highp uint'
16ERROR: 0:46: 'assign' :  cannot convert from ' temp bfloat16_t' to ' temp uint64_t'
17ERROR: 0:47: 'assign' :  cannot convert from ' temp bfloat16_t' to ' temp int8_t'
18ERROR: 0:48: 'assign' :  cannot convert from ' temp bfloat16_t' to ' temp int16_t'
19ERROR: 0:49: 'assign' :  cannot convert from ' temp bfloat16_t' to ' temp highp int'
20ERROR: 0:50: 'assign' :  cannot convert from ' temp bfloat16_t' to ' temp int64_t'
21ERROR: 0:52: 'assign' :  cannot convert from ' temp bfloat16_t' to ' temp float16_t'
22ERROR: 0:56: 'b2' : undeclared identifier 
23ERROR: 0:56: 'dot' : no matching overloaded function found 
24ERROR: 0:58: 'funcbf16' : no matching overloaded function found 
25ERROR: 0:59: 'funcbf16' : no matching overloaded function found 
26ERROR: 0:60: 'funcbf16' : no matching overloaded function found 
27ERROR: 0:62: 'constructor' : can't convert 
28ERROR: 0:62: ' temp bool' : cannot construct with these arguments 
29ERROR: 0:62: '=' :  cannot convert from ' const float' to ' temp bool'
30ERROR: 0:63: 'constructor' : can't convert 
31ERROR: 0:63: ' temp bfloat16_t' : cannot construct with these arguments 
32ERROR: 0:63: 'assign' :  cannot convert from ' const float' to ' temp bfloat16_t'
33ERROR: 0:65: '++' :  wrong operand type no operation '++' exists that takes an operand of type  temp bfloat16_t (or there is no acceptable conversion)
34ERROR: 0:66: '--' :  wrong operand type no operation '--' exists that takes an operand of type  temp bfloat16_t (or there is no acceptable conversion)
35ERROR: 0:67: '-' :  wrong operand type no operation '-' exists that takes an operand of type  temp bfloat16_t (or there is no acceptable conversion)
36ERROR: 0:69: '+' :  wrong operand types: no operation '+' exists that takes a left-hand operand of type ' temp bfloat16_t' and a right operand of type ' temp bfloat16_t' (or there is no acceptable conversion)
37ERROR: 0:72: '+' :  wrong operand types: no operation '+' exists that takes a left-hand operand of type ' temp coopmat<3, 16, 16, 0> bfloat16_t' and a right operand of type ' temp coopmat<3, 16, 16, 0> bfloat16_t' (or there is no acceptable conversion)
38ERROR: 0:73: '*' :  wrong operand types: no operation '*' exists that takes a left-hand operand of type ' temp coopmat<3, 16, 16, 0> bfloat16_t' and a right operand of type ' temp coopmat<3, 16, 16, 0> bfloat16_t' (or there is no acceptable conversion)
39ERROR: 0:74: '*' :  wrong operand types: no operation '*' exists that takes a left-hand operand of type ' temp bfloat16_t' and a right operand of type ' temp coopmat<3, 16, 16, 0> bfloat16_t' (or there is no acceptable conversion)
40ERROR: 0:75: '*' :  wrong operand types: no operation '*' exists that takes a left-hand operand of type ' temp coopmat<3, 16, 16, 0> bfloat16_t' and a right operand of type ' temp bfloat16_t' (or there is no acceptable conversion)
41ERROR: 0:76: 'assign' :  cannot convert from ' temp coopmat<3, 16, 16, 0> bfloat16_t' to ' temp coopmat<3, 16, 16, 0> bfloat16_t'
42ERROR: 0:77: 'assign' :  cannot convert from ' temp bfloat16_t' to ' temp coopmat<3, 16, 16, 0> bfloat16_t'
43ERROR: 41 compilation errors.  No code generated.
44
45
46SPIR-V is not generated for failed compile or link