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

Extend L0 provider to match UR capabilities #692

Merged
merged 3 commits into from
Aug 29, 2024

Conversation

igchor
Copy link
Member

@igchor igchor commented Aug 21, 2024

Extend L0 provider with:

  • ability to make memory resident on devices
  • ability to allocate memory exceeding maxMemAllocSize

to match L0 provider capabilities from UR.

Description

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly

src/provider/provider_level_zero.c Outdated Show resolved Hide resolved
src/provider/provider_level_zero.c Show resolved Hide resolved
src/provider/provider_level_zero.c Show resolved Hide resolved
by using ZE_RELAXED_ALLOCATION_LIMITS_EXP_FLAG_MAX_SIZE flag
when appropriate.
@igchor igchor marked this pull request as ready for review August 22, 2024 19:48
@igchor igchor requested a review from a team as a code owner August 22, 2024 19:48
@igchor
Copy link
Member Author

igchor commented Aug 27, 2024

@bratpiorka @lukaszstolarczuk any more comments/concern? I already have a PR that uses L0 provider from UMF (in L0 v2 adapter) but with features from this PR we could actually enable all test scenarios.

Ref: oneapi-src/unified-runtime#2016

@lukaszstolarczuk lukaszstolarczuk merged commit 89b660c into oneapi-src:main Aug 29, 2024
65 checks passed
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.

4 participants