MCPcopy Index your code
hub / github.com/apache/tvm / computeMB

Function computeMB

web/src/webgpu.ts:47–49  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

45 );
46 }
47 const computeMB = (value: number) => {
48 return Math.ceil(value / (1 << 20)) + "MB";
49 }
50
51 // more detailed error message
52 let requiredMaxBufferSize = 1 << 30; // 1GB

Callers 1

detectGPUDeviceFunction · 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…