-
Notifications
You must be signed in to change notification settings - Fork 29
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
Update OS provider config API #925
base: main
Are you sure you want to change the base?
Conversation
37132e1
to
283b26f
Compare
283b26f
to
4d0a4a5
Compare
scripts/docs_config/examples.rst
Outdated
|
||
umf_memory_provider_ops_t *provider_ops = umfOsMemoryProviderOps(); | ||
umf_os_memory_provider_params_t params = umfOsMemoryProviderParamsDefault(); | ||
|
||
Get a default memory provider parameters. The handle to the parameters object |
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.
Get default OS memory...
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.
Done
&os_memory_provider); | ||
umfOsMemoryProviderParamsDestroy(os_params); |
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.
we could also check return value of this func
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.
yeah, but what we should do with that? It does not impact the benchamrk. As you can see below we also do not check the return of the umfMemoryProviderDestroy
55da957
to
2ab852c
Compare
2ab852c
to
7f84ae8
Compare
Description
Change the L0 provider config as we agreed in #844
Checklist