-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Issue #31 raises a higher level discussion as to how we capture platform configuration in a PML model especially to promote model reuse. As an example let us consider the case of a platform which main memory can be optionally partitioned, we could:
- define distinct models per configuration: one where the memory is partitioned with separate targets, one where the memory is a single target;
- define a parametrised model: expose the partitions as a configuration point, and generate the configured model. This would promote reuse as other components would not be impacted. If the configuration changes, so does the platform model and additional layers, such as the software allocation, may be invalidated.
- define platform configuration as an additional layer: we could express the configurations as transformations of a base model, e.g. non-partitioned memory merges existing targets on a model (the partitioned memory). Said transformations may preserve the semantic of upper layers, e.g. the software allocation;
- define the platform as a configurable object: similar to the parametrised solution, but interactions with the platform would go through an object/interface that abstracts and is independent from the configuration. The object would need to redefine some of the syntactic sugar offered by PML, e.g. how to map a piece data to the memory target(s).
Those are just proposals off the top of my head. Comments and suggestions are more than welcome.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested