-
Notifications
You must be signed in to change notification settings - Fork 33
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
[CTL] Add variadic functions #1123
base: v0.12.x-dev
Are you sure you want to change the base?
Conversation
d5b2769
to
46b49d9
Compare
46b49d9
to
512ee27
Compare
512ee27
to
f60e823
Compare
f60e823
to
bab8940
Compare
src/libumf.def
Outdated
@@ -119,6 +119,9 @@ EXPORTS | |||
umfScalablePoolParamsSetKeepAllMemory | |||
; Added in UMF_0.11 | |||
umfCUDAMemoryProviderParamsSetAllocFlags | |||
umfCtlExec |
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.
please move CTL functions to 0.12 namespace
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.
also, bump OPS structure version to 0.12
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.
I've updated structures for pool and provider, and also def+map files.
bab8940
to
d425443
Compare
Since this commit all the CTL API functions (umfCtlSet/Get/Exec) will be defined as a variadic functions to provide more elastic approach in future development.
d425443
to
c1739da
Compare
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.
This PR changes nothing.
variadic args idea, for CTL was about replaceing ctx (and potentaily other args) with wildcards in "name". So you can do something like this
"umf.pool.byHandle.%p.arena.%d.something", ctx, 1
[CTL] Add variadic functions
Description
Since this PR all the CTL API functions (umfCtlSet/Get/Exec)
will be defined as a variadic functions to provide more elastic
approach in future development.
Checklist
Depends on #1073
Resolves #1085