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

Improve the compute example to work on large array sizes #274

Merged
merged 1 commit into from
Jul 8, 2023
Merged

Improve the compute example to work on large array sizes #274

merged 1 commit into from
Jul 8, 2023

Conversation

fornwall
Copy link
Contributor

@fornwall fornwall commented Jul 5, 2023

Improve the compute example to work on large array sizes by starting from the thread group size and calculate the thread group count, instead of the other way around (which can cause too large thread groups). This fixes #244.

Also make it possible to specify array size as argument and fix clippy warnings.

Improve the compute example to work on large array sizes by starting
from the thread group size and calculate the thread group count, instead
of the other way around (which can cause too large thread groups). This
fixes #244.

Also make it possible to specify array size as argument and fix clippy
warnings.
@fornwall
Copy link
Contributor Author

fornwall commented Jul 5, 2023

I think the build failures should be fixed by #275.

@kvark kvark merged commit 6b0dbed into gfx-rs:master Jul 8, 2023
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.

Incorrect buffer value in compute example
2 participants