-
Notifications
You must be signed in to change notification settings - Fork 32
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
L0 provider: implement support for defer and blocking free #963
base: main
Are you sure you want to change the base?
Conversation
@igchor do we need this for 0.10x / 2025.1? |
No, for now I only want to use it for v2 L0 adapter which will not be released as part of 2025.1 |
98b4e2a
to
76672ed
Compare
@igchor So we are not merging that till you confirm that UR works with the new UMF L0 config options and they do what UR needs? |
Yes, I'll undraft the PR once I manage to test this in UR |
/// @param hParams handle to the parameters of the Level Zero Memory Provider. | ||
/// @param policy memory free policy. | ||
/// @return UMF_RESULT_SUCCESS on success or appropriate error code on failure. | ||
umf_result_t umfLevelZeroMemoryProviderParamsSetFreePolicy( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to update the src/libumf.def
and src/libumf.map
files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.. and place this call in the proper set of exported functions (UMF_0.11?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I added it under UMF_0.11 scope but how do we want to do that for windows? In .def file we have a single VERSION specified.
76672ed
to
bb2d469
Compare
bb2d469
to
477edb6
Compare
Description
This feature is necessary to properly support urUSMFree for v2 L0 adapter.
Checklist