(program: WebGPUProgram)
| 189 | } |
| 190 | |
| 191 | export function getWorkgroupSizeString(program: WebGPUProgram): string { |
| 192 | return ` |
| 193 | @compute @workgroup_size(${program.workgroupSize[0]}, ${ |
| 194 | program.workgroupSize[1]}, ${program.workgroupSize[2]}) |
| 195 | `; |
| 196 | } |
| 197 | |
| 198 | function makeShader( |
| 199 | inputInfo: InputInfo[], outputData: {dtype: DataType, shape: number[]}, |
no outgoing calls
no test coverage detected
searching dependent graphs…