Skip to content

Mirror intel/llvm commits #2777

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 9 commits into from
Jun 4, 2025
Merged

Mirror intel/llvm commits #2777

merged 9 commits into from
Jun 4, 2025

Conversation

kbenzie
Copy link
Contributor

@kbenzie kbenzie commented Jun 4, 2025

Automated changes by create-pull-request GitHub action

RossBrunton and others added 9 commits June 4, 2025 00:41
This doesn't affect the `check-unified-runtime-adapter` target, but does
fix the main `check-unified-runtime` target.
This list is used in `llvm-lit` to map source configs to their generated
versions. This enables the use of `llvm-lit path/to/test/source/file`

e.g. `llvm-lit
~/dpcpp/unified-runtime/test/adapters/level_zero/confirm_version.cpp`
A (rather trivial) test has also been added since Offload currently has
issues with arguments.
It needs to inherit from ur::handle_base<ur::level_zero::ddi_getter>

Previously, only ur_mem_buffer_t inherited from the handle_base which
happened to work in most cases as ur_mem_handle_t_ is a variant over few
different types, all inheriting from ur_mem_handle_t_.
SYCL allows creating cross-context dependencies. It automatically
handles cases where contexts are from different adapters. However,
events from a single adapter are always passed directly to urEventWait
(even if they are from different contexts). This causes problems with
opencl CPU (it returns CL_INVALID_CONTEXT from clWaitForEvents). In
general, OpenCL spec does not guarantee that passing events from
different contexts works for any function. The same problem exists for
all enqueue functions but in practice SYCL does not mix events in the
waitList - it will always use urEventWait for synchronization.
@kbenzie kbenzie requested a review from a team as a code owner June 4, 2025 00:41
@github-actions github-actions bot added ci/cd Continuous integration/devliery conformance Conformance test suite issues. level-zero L0 adapter specific issues opencl OpenCL adapter specific issues labels Jun 4, 2025
Copy link
Contributor

github-actions bot commented Jun 4, 2025

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.

@kbenzie kbenzie merged commit 18b9787 into main Jun 4, 2025
1 check passed
@kbenzie kbenzie deleted the mirror-commits- branch June 4, 2025 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-close ci/cd Continuous integration/devliery conformance Conformance test suite issues. level-zero L0 adapter specific issues opencl OpenCL adapter specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants