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

Method sync

web/src/runtime.ts:372–377  ·  view source on GitHub ↗

* Synchronize the device

()

Source from the content-addressed store, hash-verified

370 * Synchronize the device
371 */
372 async sync(): Promise<void> {
373 if (this.deviceType === DeviceStrToEnum.webgpu) {
374 assert(this.lib.webGPUContext !== undefined);
375 await this.lib.webGPUContext.sync();
376 }
377 }
378
379 toString(): string {
380 return (

Callers 12

test_run_evaluatorFunction · 0.45
test_fenceFunction · 0.45
funcFunction · 0.45
checkFunction · 0.45
check_runtimeFunction · 0.45
benchmarkMethod · 0.45
timeExecutionMethod · 0.45

Calls 1

assertFunction · 0.90

Tested by 9

test_run_evaluatorFunction · 0.36
test_fenceFunction · 0.36
funcFunction · 0.36
checkFunction · 0.36
check_runtimeFunction · 0.36