(program: WebGPUProgram)
| 776 | } |
| 777 | |
| 778 | function isFlatDispatch(program: WebGPUProgram): boolean { |
| 779 | return program.dispatch[1] === 1 && program.dispatch[2] === 1; |
| 780 | } |
| 781 | |
| 782 | export function dataTypeToGPUType(type: DataType, component = 1) { |
| 783 | if (type === 'float32') { |
no outgoing calls
no test coverage detected
searching dependent graphs…