mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-27 20:02:15 +00:00
[js/webgpu] Log the key and program info for artifact (#18365)
With uniform support, ideally we may just keep one artifact for each program to save the compilation time. This PR just logs the related info, including key and program name, so that we may understand better the situation.
This commit is contained in:
parent
7335760424
commit
227dcb3a88
1 changed files with 1 additions and 0 deletions
|
|
@ -413,6 +413,7 @@ export class WebGpuBackend {
|
|||
if (!artifact) {
|
||||
artifact = this.programManager.build(program, normalizedDispatchGroup);
|
||||
this.programManager.setArtifact(key, artifact);
|
||||
LOG_DEBUG('info', () => `[artifact] key: ${key}, programName: ${program.name}`);
|
||||
}
|
||||
|
||||
LOG_DEBUG(
|
||||
|
|
|
|||
Loading…
Reference in a new issue