-
Notifications
You must be signed in to change notification settings - Fork 52
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
Adding asan sanitizer support for hip #795
base: develop
Are you sure you want to change the base?
Conversation
Updated cmake command:
Updated Output (for hip kernel sanitizer test):
Note: Will not work if |
Issue: it seems like running the test with |
The way this test is ran in |
See AMD bug report (277) - made reproducer for AMD to look in to. Seems like this does not yet work as expected in rocm 5.4 |
Update: A fix is supposed to be ready in rocm 6.0 |
…an-poisoning-for-hip
Edited out... |
…an-poisoning-for-hip
…-1020-asan-poisoning-for-hip
The fix is in rocm/6.0.0, but we have to add a |
This has been a long time coming! @adrienbernede - once the blt/camp releases come out and we can update umpire to rocm/6.0.0 we should add this test! (No updates yet for the reason behind why the device allocator test is failing with 6.0.0 - ticket has been "submitted to vendor", so it is being looked into at least...) |
@davidbeckingsale |
@kab163 @davidbeckingsale now that the allocation is not limiting anymore I’ll let you deal with the rest ;). |
…an-poisoning-for-hip
Updated cmake command:
or
|
Built with
then run
or
|
What's the current status of this merge request? I'm testing out asan and finding it works for simple tests. I'm working on enabling it in my application, but until this goes in, I'll have to disable memory pools. |
Cmake command on rzvernal:
Warning while compiling:
clang-15: warning: ignoring '-fsanitize=address' option for offload arch 'gfx90a' as it is not currently supported there. Use it with an offload arch containing 'xnack+' instead [-Woption-ignored]
Output of
sanitizer_tests.cpp