diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/cnn_v2_test/index.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/cnn_v2_test/index.html b/tools/cnn_v2_test/index.html index e2b0a04..91f7942 100644 --- a/tools/cnn_v2_test/index.html +++ b/tools/cnn_v2_test/index.html @@ -859,7 +859,6 @@ class CNNTester { usage: GPUBufferUsage.STORAGE | GPUBufferUsage.COPY_DST }); this.device.queue.writeBuffer(weightsGPU, 0, this.weightsBuffer); - const staticPipeline = this.device.createComputePipeline({ layout: 'auto', compute: { module: this.device.createShaderModule({ code: STATIC_SHADER }), entryPoint: 'main' } @@ -935,7 +934,7 @@ class CNNTester { const cnnBG = this.device.createBindGroup({ layout: cnnPipeline.getBindGroupLayout(0), entries: [ - { binding: 0, resource: staticTex.createView() }, + { binding: 0, resource: layerTextures[0].createView() }, { binding: 1, resource: srcTex.createView() }, { binding: 2, resource: dstTex.createView() }, { binding: 3, resource: { buffer: weightsGPU } }, |
