-
Notifications
You must be signed in to change notification settings - Fork 753
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
[DeivceASAN] Make ShadowMemory one instance per type #16687
[DeivceASAN] Make ShadowMemory one instance per type #16687
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Kindly ping @unified-runtime-reviewers for review. |
@yingcong-wu please take a look at the Jenkins/Precommit. I already retried it once but haven't checked if the second run had any more info than the first. |
Hi @kbenzie , this looks like infrastructure issue at first glance. I will do more investigation. |
I suggest move this test to "VirtualMem" folder, because if it is failed, owners of "VirtualMem" will take responsible for it. |
I don't think that is ideal because I think they don't care about cross context access as that may be a violation to the spec. Ideally this test should be written using level-zero API, but that may be not so convenient. We can update this test later and add more tests to test for other assumption we made for the L0/GPU. |
Since this is our requirement, we need to communicate with them to support this feature. |
We may create a "sanitizer" folder under "VirtualMem" to let them know this is specific to sanitizer. |
If this becomes a requirement, then the requirement should be made to L0/GPU team instead of SYCL team. |
Yep, I updated my words, it's responsibility of owners of "VirutalMem" folder, not "AddressSaniitzer". |
Also, this is not a hard requirement for the whole DASAN, but just a requirement for the current implementation of shadow memory. If it does not support cross-context access one day, we can adjust our implementation for shadow memory. Also, it is hard to make GPU team commit to that requirement because in theory, we should not do cross-context access. |
I still think we should keep this test in ASAN folder, because 1: this is not really a legitimate test for VirtualMem(cross-context), and 2: this would help us catch the problem sooner, rather than wait for the issue to be dispatched. |
So you mean, this test is just an indicator for our current implementation. When it is failed, we may consider make a new implementation? |
Got it. We need to know its status firstly. |
Yes! That is my intention here. |
Hi @kbenzie , after retrigging the CI with an empty commit, the Jenkins/Precommit check has passed. At the time of writing this comment, there are no failed checks but 1 is still queued. |
Hi @intel/llvm-gatekeepers , please help merge this PR, thanks. |
UR PR: oneapi-src/unified-runtime#2585