-
Notifications
You must be signed in to change notification settings - Fork 734
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
[DeviceSanitizer] Support nullpointer detection & enable GPU tests #14891
Conversation
Maybe we need to wait for cpu&gpu driver upgrading to support "__devicelib_exit" builtin. |
gpu e2e are skiped, can't find cpu e2e results |
Recently upgraded gpu driver in #14838 has support of "__devicelib_exit" builtin |
@intel/unified-runtime-reviewers, please review |
Kindly ping @intel/unified-runtime-reviewers |
bc653ac
to
1a64242
Compare
@intel/llvm-gatekeepers please merge, Thanks! |
Approval still needed from @intel/dpcpp-sanitizers-review (e.g. @yingcong-wu ) |
@intel/llvm-gatekeepers This should be ready now. Please merge. |
@AllanZyne - The following tests are failing in post-commit after this: |
Hi @steffenlarsen , @AllanZyne is OOO for now, so I think you should revert the patch. |
This commit disables the AddressSanitizer/invalid-argument/out-of-bounds.cpp and sycl/test-e2e/AddressSanitizer/invalid-argument/released-pointer.cpp tests for DG2, following the enabling of address sanitizer tests for DG2 in intel#14891. Additionally, it fixes the compilation failure in sycl/test-e2e/AddressSanitizer/nullpointer/global_nullptr.cpp which should hopefully allow it to pass as expected. Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@yingcong-wu - Thank you for making me aware! Looking at the changes, I don't think we need a full revert. If I'm reading it correctly, it seems like we didn't enable DG2 testing before, so I think it would be better to just disable the failing tests. Note that global_nullptr.cpp just seems to be failing to compile, likely due to unlucky timing, so I aim to fix that too. Patch in #15450. |
This commit disables the AddressSanitizer/invalid-argument/out-of-bounds.cpp and sycl/test-e2e/AddressSanitizer/invalid-argument/released-pointer.cpp tests for DG2, following the enabling of address sanitizer tests for DG2 in #14891. Additionally, it fixes the compilation failure in sycl/test-e2e/AddressSanitizer/nullpointer/global_nullptr.cpp which should hopefully allow it to pass as expected. Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen, as far as I remember our discussion in SYCL CI meetings - it was an conclusion and agreement what we won't disable failing tests without at least tracker being created in regards of this failures. Was it done in this case? I maybe wrong, but I don't see any tracker being mention in this PR in regards of this disabled tests and I also do not see it in #15450. |
Hi @nsirgien! You're right, I did not mention the trackers in the PR itself. However, they are mentioned in the test files above the line disabling them. The trackers are #15449 and #15453. |
UR: oneapi-src/unified-runtime#1914