Skip to content
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

Fixed bug with zero depth ur_rect_region_t which must be checked before calling funcs #2746

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GermanAizek
Copy link

@RossBrunton, it looks like a common typo when writing functions.

Fixed functions:

  • urEnqueueMemBufferWriteRect()
  • urEnqueueMemBufferReadRect()

@GermanAizek GermanAizek requested a review from a team as a code owner March 27, 2025 12:17
@github-actions github-actions bot added loader Loader related feature/bug auto-close labels Mar 27, 2025
Copy link

Unified Runtime -> intel/llvm Repo Move Notice

Information

The source code of Unified Runtime has been moved to intel/llvm under the unified-runtime top-level directory,
all future development will now be carried out there. This was done in intel/llvm#17043.

The code will be mirrored to oneapi-src/unified-runtime and the specification will continue to be hosted at oneapi-src.github.io/unified-runtime.

The contribution guide will be updated with new instructions for contributing to Unified Runtime.

PR Migration

All open PRs including this one will be marked with the auto-close label and shall be automatically closed after 30 days.

Should you wish to continue with your PR you will need to migrate it to intel/llvm.
We have provided a script to help automate this process.

If your PR should remain open and not be closed automatically, you can remove the auto-close label.


This is an automated comment.

@@ -4807,7 +4807,7 @@ __urdlllocal ur_result_t UR_APICALL urEnqueueMemBufferReadRect(
if (phEventWaitList != NULL && numEventsInWaitList == 0)
return UR_RESULT_ERROR_INVALID_EVENT_WAIT_LIST;

if (region.width == 0 || region.height == 0 || region.width == 0)
if (region.width == 0 || region.height == 0 || region.depth == 0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the fix, note this is a generated file so this change will need to be made here, and you'll need to then run the generate target to propagate the update to the headers + validation layer

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aarongreig, Im fixed here: 5a5811a

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks. Sorry I should have also reiterated the bot comment: this repo isn't used for development any more, it's purely a mirror of https://github.com/intel/llvm/tree/sycl/unified-runtime so you'll need to migrate this PR to that repo

@github-actions github-actions bot added the specification Changes or additions to the specification label Mar 27, 2025
… calling func

Fixed functions:
- urEnqueueMemBufferWriteRect()
- urEnqueueMemBufferReadRect()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-close loader Loader related feature/bug specification Changes or additions to the specification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants