cudaMemsetAsync? #28640
cudaMemsetAsync?
#28640
Replies: 1 comment
-
False alarm, works just fine when I get the bytes right... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Does this not work? I need to zero out my output outside my main kernel since the kernel is multiple thread blocks (unless I use cooperative kernel sync, which is also giving me issues). If I create a trivial kernel to zero it out and launch it before my main kernel on same stream, all is fine. But if I cudaMemsetAsync using that same stream I get from ffi call, it runs but my output is wrong.
Beta Was this translation helpful? Give feedback.
All reactions