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

Different TB_SIZE in 03_sum_reduction/diverged won't pass assertion #12

Open
101001000 opened this issue Feb 3, 2023 · 1 comment
Open

Comments

@101001000
Copy link

I found that a TB_SIZE and SH_SIZE= 128, won't give the expected 65536 result.

@rana-akkumar
Copy link

I think second kernel launch i.e. "sumReduction<<<1, TB_SIZE>>> (d_v_r, d_v_r);", here thread block size should be "GRID_SIZE" of 1st kernel launch i.e. "sumReduction<<<1, GRID_SIZE>>> (d_v_r, d_v_r);"

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

2 participants