intel / intel/llvm

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

Open
#17,187 1 comment 0 reactions 1 assignee Claimed by @nrspruit View on GitHub
bug level-zero unified-runtime
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

### 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 https://github.com/intel/llvm/pull/17159#discussion_r1971116813

Moreover some tests that read/write 2d to or from 3d fail in adapter v2 (https://github.com/intel/llvm/pull/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))
3. Run conformance tests using level zero adapter

### Environment

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.