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

[UR][L0] move platform cache into the adapter structure #12403

Closed
wants to merge 1 commit into from

Conversation

pbalcer
Copy link
Contributor

@pbalcer pbalcer commented Jan 16, 2024

Testing UR patch.

@pbalcer pbalcer requested a review from a team as a code owner January 16, 2024 13:10
steffenlarsen pushed a commit that referenced this pull request Jan 17, 2024
The ur.hpp and ur.cpp files were moved to the unified runtime repo.

This is currently blocking #12403,
oneapi-src/unified-runtime#1252.
pbalcer added a commit to pbalcer/llvm that referenced this pull request Jan 18, 2024
Calling urAdapterGet is required for the global adapter to be initialized,
but it was missing when creating a platform from a native handle.
This meant that the adapter's state never got initialized and its refcount
remained at 0 (and overflowed on teardown).

This had no visible side-effects until changes in intel#12403.
@pbalcer
Copy link
Contributor Author

pbalcer commented Jan 18, 2024

The fail is due to #12432

aelovikov-intel pushed a commit that referenced this pull request Jan 18, 2024
…12432)

Calling urAdapterGet is required for the global adapter to be
initialized, but it was missing when creating a platform from a native
handle. This meant that the adapter's state never got initialized and
its refcount remained at 0 (and overflowed on teardown).

This had no visible side-effects until changes in #12403.
kbenzie pushed a commit that referenced this pull request Jan 22, 2024
…12432)

Calling urAdapterGet is required for the global adapter to be
initialized, but it was missing when creating a platform from a native
handle. This meant that the adapter's state never got initialized and
its refcount remained at 0 (and overflowed on teardown).

This had no visible side-effects until changes in #12403.
@pbalcer pbalcer closed this Feb 7, 2024
@pbalcer pbalcer deleted the l0-platform-cache-fix branch February 7, 2024 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant