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

Inaccurate test cases or problem statement for Puzzle 7, 8 #27

Open
philipbutler opened this issue Jan 3, 2024 · 1 comment
Open

Inaccurate test cases or problem statement for Puzzle 7, 8 #27

philipbutler opened this issue Jan 3, 2024 · 1 comment

Comments

@philipbutler
Copy link

philipbutler commented Jan 3, 2024

The test cases say all values should be 11, but the problem statements say:

Puzzle 7 "Implement the same kernel in 2D. You have fewer threads per block than the size of a in both directions."
(I'm assuming this means the same as Puzzle 6, which is to add 10 to each position.)
Puzzle 8 "Implement a kernel that adds 10 to each position of a and stores it in out. You have fewer threads per block than the size of a."

BTW I'm having fun and learning, thanks for this :)

@philipbutler philipbutler reopened this Jan 3, 2024
@philipbutler philipbutler changed the title Inaccurate problem statement for Puzzle 7 Inaccurate test cases or problem statement for Puzzle 7, 8 Jan 3, 2024
@philipbutler
Copy link
Author

I realized I was misreading the problems, that they're asking for the value at each index to be added, not for the index to be added.

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

No branches or pull requests

1 participant