MCPcopy Create free account
hub / github.com/tensorflow/tfjs / getWorkgroupSizeString

Function getWorkgroupSizeString

tfjs-backend-webgpu/src/webgpu_program.ts:191–196  ·  view source on GitHub ↗
(program: WebGPUProgram)

Source from the content-addressed store, hash-verified

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

Callers 1

getStartHeaderStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…