Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webGPU pipelines #181

Draft
wants to merge 1 commit into
base: 12-17-webgpu_resources
Choose a base branch
from
Draft

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.

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