https://github.com/csc-training/hip-programming/blob/e6a231435c14d2581f14575f52efc93070ffcfa8/docs/03-streams.md?plain=1#L294 There should be a minus one here. `d_a[tid] = s_a[BLOCKSIZE - 1 - tid]; /* safe to write out array in reverse order */`
hip-programming/docs/03-streams.md
Line 294 in e6a2314
There should be a minus one here.
d_a[tid] = s_a[BLOCKSIZE - 1 - tid]; /* safe to write out array in reverse order */