Skip to content

Conversation

bmschmidt
Copy link
Collaborator

No description provided.

Copy link
Collaborator Author

bmschmidt commented Dec 18, 2024

@bmschmidt bmschmidt mentioned this pull request Dec 18, 2024
Comment on lines +32 to 37
throw new Error("Not implemented")
super(device, deeptable);
this.params = { ...defaultTinyForestParams, ...t };
this.initializeForestsToZero();
this.bufferSet = new WebGPUBufferSet(device, bufferSize);
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The throw statement makes all code after it unreachable. Either move the throw to the end of the constructor if the intent is to prevent instantiation, or remove the unreachable code that follows it. Currently the bufferSet assignment and other initialization code will never execute.

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

@bmschmidt bmschmidt force-pushed the 12-17-webgpu_resources branch from 1e1ae8e to 830811c Compare May 23, 2025 18:29
@bmschmidt bmschmidt force-pushed the 12-18-webgpu_pipelines branch from 5670864 to 8548081 Compare May 23, 2025 18:29
@bmschmidt bmschmidt force-pushed the 12-17-webgpu_resources branch from 830811c to a23a2c3 Compare May 23, 2025 18:37
@bmschmidt bmschmidt force-pushed the 12-18-webgpu_pipelines branch from 8548081 to 8b78ca4 Compare May 23, 2025 18:37
@bmschmidt bmschmidt force-pushed the 12-17-webgpu_resources branch from a23a2c3 to b9dc76b Compare May 23, 2025 18:40
@bmschmidt bmschmidt force-pushed the 12-18-webgpu_pipelines branch from 8b78ca4 to 459e29b Compare May 23, 2025 18:40
@bmschmidt bmschmidt force-pushed the 12-17-webgpu_resources branch from b9dc76b to 83f360f Compare May 23, 2025 18:46
@bmschmidt bmschmidt force-pushed the 12-18-webgpu_pipelines branch from 459e29b to 07fc8ff Compare May 23, 2025 18:46
@bmschmidt bmschmidt force-pushed the 12-17-webgpu_resources branch from 83f360f to 07bc4b3 Compare May 23, 2025 19:12
@bmschmidt bmschmidt force-pushed the 12-18-webgpu_pipelines branch from 07fc8ff to 2eff59a Compare May 23, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant