Skip to content

[L0] fix Coverity issues for L0 Adapter #1955

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

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

nrspruit
Copy link
Contributor

@nrspruit nrspruit commented Aug 9, 2024

  • Fixed recast of Queue object vs usage of variable.
  • fixed usm alignment check such that == 0 is correctly skipped from buffer overrun checks.
  • fixed cast to show no need to check the return from decrement and test in queue finish.
  • fixed release of resources for bindless import on error.

- Fixed recast of Queue object vs usage of variable.
- fixed usm alignment check such that == 0 is correctly skipped from
  buffer overrun checks.
- fixed cast to show no need to check the return from decrement and test
  in queue finish.
- fixed release of resources for bindless import on error.

Signed-off-by: Neil R. Spruit <[email protected]>
@nrspruit nrspruit requested review from a team as code owners August 9, 2024 20:15
@nrspruit nrspruit requested a review from igchor August 9, 2024 20:15
@github-actions github-actions bot added images UR images level-zero L0 adapter specific issues labels Aug 9, 2024
nrspruit added a commit to nrspruit/llvm that referenced this pull request Aug 9, 2024
@nrspruit nrspruit added the v0.10.x Include in the v0.10.x release label Aug 10, 2024
@isaacault
Copy link
Contributor

Tagging @wenju-he to test this.

@nrspruit nrspruit added the ready to merge Added to PR's which are ready to merge label Aug 12, 2024
@wenju-he
Copy link
Contributor

wenju-he commented Aug 13, 2024

Tagging @wenju-he to test this.

A subset of vulkan/dx12 interop tests are passing on DG2 Windows.
My testing shows this PR has no regression.

@omarahmed1111 omarahmed1111 merged commit f833605 into oneapi-src:main Aug 13, 2024
57 of 58 checks passed
omarahmed1111 pushed a commit to nrspruit/llvm that referenced this pull request Aug 13, 2024
@kbenzie kbenzie mentioned this pull request Aug 13, 2024
53 tasks
kbenzie pushed a commit that referenced this pull request Aug 13, 2024
[L0] fix Coverity issues for L0 Adapter
sarnex pushed a commit to intel/llvm that referenced this pull request Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
images UR images level-zero L0 adapter specific issues ready to merge Added to PR's which are ready to merge v0.10.x Include in the v0.10.x release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants