-
Notifications
You must be signed in to change notification settings - Fork 802
[DeviceSanitizer] Support check invalid kernel argument #14512
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
Conversation
yingcong-wu
left a comment
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.
out-of-bounds and released-pointer checks seem a bit redundant. I mean those could also be caught when those errors happened within kernel execution, right?
Yeah, that's a problem. I'll reconsider this. |
Yes, this a bit redundant. But it costs very little to check these two errors while checking other errors. |
|
Hi @intel/unified-runtime-reviewers, please review, thanks |
| int main() { | ||
| sycl::queue Q; | ||
| constexpr std::size_t N = 123456; | ||
| constexpr std::size_t N = 512; |
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.
NOTE: We'll add a new test in “private” for large workgroup case
|
@intel/dpcpp-sanitizers-review could you have another round of review on this as I merged the UR part of it, so we would prioritize merging that. Thanks! |
Sure. |
|
@intel/llvm-gatekeepers please merge, thanks. |
UR: oneapi-src/unified-runtime#1843 also fix parallel_for_double.cpp --------- Co-authored-by: omarahmed1111 <omar.ahmed@codeplay.com>
UR: oneapi-src/unified-runtime#1843
also fix parallel_for_double.cpp