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

Support for AddressSanitizer #22

Open
lanwatch opened this issue Jul 6, 2021 · 1 comment
Open

Support for AddressSanitizer #22

lanwatch opened this issue Jul 6, 2021 · 1 comment
Assignees

Comments

@lanwatch
Copy link

lanwatch commented Jul 6, 2021

Since HIP-CPU uses libco fiber mechanism to mimic GPU thread behaviour, the stack gets constantly re-written and that leads to ASan reporting false positives all over the place.

Seems like there is a way to annotate fibers that other coroutine libraries use, see this, this or this.

Maybe the solution would be to have different backends for other coroutine libraries? Eventually we would want to use the std version, if that makes sense.

@AlexVlx AlexVlx self-assigned this Jul 11, 2021
@AlexVlx
Copy link
Collaborator

AlexVlx commented Aug 21, 2021

@lanwatch thank you for reporting this and apologies for the delay in picking it up. Quick question, do you happen to have a repro handy? I suspect that this manifests for a particular situation, involving multiple __syncthreads() calls in the same kernel? Thanks.

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