summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common/Targets.pm
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/targeting/common/Targets.pm')
-rw-r--r--src/usr/targeting/common/Targets.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/usr/targeting/common/Targets.pm b/src/usr/targeting/common/Targets.pm
index cf5f2185f..cea9a1a25 100644
--- a/src/usr/targeting/common/Targets.pm
+++ b/src/usr/targeting/common/Targets.pm
@@ -89,6 +89,7 @@ my %maxInstance = (
"NX" => 1,
"MEMBUF" => 8,
"SMPGROUP" => 8,
+ "OMIC" => 6,
);
sub new
{
@@ -1626,6 +1627,11 @@ sub setCommonAttrForChiplet
$self->setAttribute($target, "INSTANCE_PATH", $target);
$unit_pos = $pos%2;
}
+ elsif ($tgt_type eq "OMIC")
+ {
+ # There are 3 OMICs per MC parent
+ $unit_pos = $pos % 3;
+ }
my $parent_affinity = $self->getAttribute(
$self->getTargetParent($target),"AFFINITY_PATH");
OpenPOWER on IntegriCloud