Skip to content

[UR] Issue with rect buffer operations in level-zero adapter #17187

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

Open
Xewar313 opened this issue Feb 26, 2025 · 0 comments
Open

[UR] Issue with rect buffer operations in level-zero adapter #17187

Xewar313 opened this issue Feb 26, 2025 · 0 comments
Assignees
Labels
bug Something isn't working level-zero Issues related to the Level Zero backend unified-runtime

Comments

@Xewar313
Copy link
Contributor

Xewar313 commented Feb 26, 2025

Describe the bug

Rect read and write do not work correctly in level-zero adapter v1. The respective tests in files urEnqueueMemBufferReadRect.cpp and urEnqueueMemBufferWriteRect.cpp are disabled, and when enabled result in failure and/or segfault.
Analogous operations in command buffer (urCommandBufferAppendMemBufferWriteRectExp, urCommandBufferAppendMemBufferReadRectExp) also don't work as mentioned in #17159 (comment)

Moreover some tests that read/write 2d to or from 3d fail in adapter v2 (#17159 - commented cases in /unified-runtime/test/conformance/exp_command_buffer/rect_read.cpp (or rect_write.cpp))

To reproduce

  1. Remove UUR_KNOWN_FAILURE_ON(uur::LevelZero{}); from test/conformance/enqueue/urEnqueueMemBufferWriteRect.cpp and test/conformance/enqueue/urEnqueueMemBufferReadRect.cpp (or enable commented cases in adapter v2 /unified-runtime/test/conformance/exp_command_buffer/rect_read.cpp (or rect_write.cpp))
  2. Run conformance tests using level zero adapter

Environment

No response

Additional context

No response

@Xewar313 Xewar313 added the bug Something isn't working label Feb 26, 2025
@kbenzie kbenzie added the level-zero Issues related to the Level Zero backend label Apr 8, 2025
@Xewar313 Xewar313 changed the title [UR] Issue with rect buffer operations in level-zero adapter v1 [UR] Issue with rect buffer operations in level-zero adapter May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working level-zero Issues related to the Level Zero backend unified-runtime
Projects
None yet
Development

No branches or pull requests

4 participants