Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix buffer initialization for wave equation exercise #173

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

Open
aspurdy wants to merge 1 commit into stackgl:master
base: master
Choose a base branch
Loading
from aspurdy:fix-gpgpu-3-wave

Conversation

@aspurdy
Copy link

@aspurdy aspurdy commented Mar 24, 2018

It looks like exercise gpgpu-3 requires a total of three buffers (one front and two back for the two previous states), but currently only two buffers are being created. I think the original author intended to use the numBuffers variable, which is set to 3, but accidently hardcoded 2 in the createStateBuffers call.

numBuffers was also declared but unused in the heat equation example, so I also updated that for consistency.

cgc reacted with hooray emoji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /