Skip to content

Mirror intel/llvm commits #2802

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 4 commits into from
Jul 3, 2025
Merged

Mirror intel/llvm commits #2802

merged 4 commits into from
Jul 3, 2025

Conversation

kbenzie
Copy link
Contributor

@kbenzie kbenzie commented Jul 3, 2025

Automated changes by create-pull-request GitHub action

yingcong-wu and others added 4 commits July 3, 2025 00:41
Add some parameter checks for `PrintUrBuildLogIfError()` to avoid
calling underlying API with invalid parameters.
For intel/llvm#18644

Most UR adapters had their own reference counting of some sort. This
adds a new `RefCount` class and refactors adapter code so all adapters
can share the same code for reference counting. This PR handles L0/L0V2
and I will open more PRs for each adapter in turn.
This use case seems to be allowed. For example, according to:
https://intel.github.io/llvm/MultiTileCardWithLevelZero.html#context
"Both root-devices and sub-devices can be within single context, but
they all should be of the same SYCL platform."

Before change CollectDevicesAndSubDevices was resulting in duplicate
devices being returned which leads to an error in
https://github.com/intel/llvm/blob/6af08fe9c6fd4dc8e433555646606898c71d92fb/unified-runtime/source/common/ur_pool_manager.hpp#L178-L179
because of the duplicate pool descriptors.
@kbenzie kbenzie requested a review from a team as a code owner July 3, 2025 00:41
Copy link
Contributor

github-actions bot commented Jul 3, 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 5f182b3 into main Jul 3, 2025
@kbenzie kbenzie deleted the mirror-commits- branch July 3, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants