-
Notifications
You must be signed in to change notification settings - Fork 125
[HIP][CUDA][Command-Buffer] Fix Coverity issues in HIP/CUDA command-buffer code #1340
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
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
0ad5886
to
5c084e8
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1340 +/- ##
==========================================
- Coverage 14.82% 12.51% -2.32%
==========================================
Files 250 239 -11
Lines 36220 35949 -271
Branches 4094 4076 -18
==========================================
- Hits 5369 4498 -871
- Misses 30800 31447 +647
+ Partials 51 4 -47 ☔ View full report in Codecov by Sentry. |
5c084e8
to
7c4a593
Compare
Address issues in the CUDA adapter code added by oneapi-src#1089 flagged by Coverity. * Uninitalized struct member of `CUDA_KERNEL_NODE_PARAMS` struct * copying instead of moving a shared pointer to a node when constructing a command-handle.
* Don't throw from constructor * Move rather than copy nodes during sync-point registration * Initalize `NextSyncPoint`
7c4a593
to
be622e7
Compare
Test changes to the UR CUDA adapter in oneapi-src/unified-runtime#1340 that fix Coverity issues in the implementation of kernel command update in a command-buffer.
… implementation (#12723) Test changes to the UR CUDA/HIP adapters in oneapi-src/unified-runtime#1340 that fix Coverity issues in the implementation of kernel command update in a command-buffer. --------- Co-authored-by: Kenneth Benzie (Benie) <k.benzie@codeplay.com>
Address issues in the CUDA adapter code added by #1089 which have been flagged by Coverity.
CUDA_KERNEL_NODE_PARAMS
structAs well as issues flagged by coverity in the HIP adapter code added in #1254
NextSyncPoint
DPC++ PR intel/llvm#12723