Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
maestro-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
maestro
maestro-core
Commits
f8732b63
Commit
f8732b63
authored
3 years ago
by
Ali Mohammed
Browse files
Options
Downloads
Patches
Plain Diff
find sources, i.e., app and local id, of required distributed cdo pieces
parent
138af129
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/maestro/i_pool_manager_registry.h
+33
-0
33 additions, 0 deletions
include/maestro/i_pool_manager_registry.h
with
33 additions
and
0 deletions
include/maestro/i_pool_manager_registry.h
+
33
−
0
View file @
f8732b63
...
@@ -324,6 +324,39 @@ mstro_pm_candidates_destroy(mstro_pm_candidates *candidates);
...
@@ -324,6 +324,39 @@ mstro_pm_candidates_destroy(mstro_pm_candidates *candidates);
/** Convert the mapping between two distributed layouts found by mmb_layout_compute_intersection
* to a list of candidates (apps, local cdo-ids, offsets, lengths) that satisfy
* the requested distribution from a different source distribution.
* Return MSTRO_OK on success.
**/
static
inline
mstro_status
mstro_pm__mmbLayoutIntersecton_to_candidates
(
mmbLayoutIntersection
*
intersection
,
size_t
dst_index
,
mmbLayout
*
src_layout
,
struct
per_app_cdo_entries
*
app_to_attributes_table
,
mstro_pm_candidates
**
candidates
);
/** Find an offered distributed cdo with the required exact layout
* (including index),i.e., 1:1 mapping
**/
static
inline
mstro_status
mstro_pm__find_cdo_with_layout
(
struct
per_app_cdo_entries
*
app_to_attributes_table
,
mmbLayout
*
s_layout
,
struct
per_app_cdo_entries
**
app
,
uint64_t
*
local_id
);
/** Destroy mstro_pm_candidates **/
static
inline
mstro_status
mstro_pm_candidates_destroy
(
mstro_pm_candidates
*
candidates
);
/**@} (end of group MSTRO_I_PM_Registry) */
/**@} (end of group MSTRO_I_PM_Registry) */
/**@} (end of group MSTRO_Internal) */
/**@} (end of group MSTRO_Internal) */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment