Displaying 4 results from an estimated 4 matches for "checkresourcelimit".
2013 Jan 11
1
[LLVMdev] Arguments to setLatencyPolicy calls swapped by accident in ConvergingScheduler::checkResourceLimits?
Hi,
In ConvergingScheduler::checkResourceLimits on line 1535 of
MachineScheduler.cpp setLatencyPolicy is called as follows:
// Set ReduceLatency to true if needed.
Bot.setLatencyPolicy(TopCand.Policy);
Top.setLatencyPolicy(BotCand.Policy);
So the Bot scheduling boundary is used to set the latency policy of the
Top candidate and the...
2018 May 09
2
[MachineScheduler] Question about IssueWidth / NumMicroOps
...del->mustBeginGroup(SU->getInstr())) ||
(!isTop() && SchedModel->mustEndGroup(SU->getInstr()))))
, which also per the same lines makes me think that this is intended for
the instruction stream management, or (1).
There is also the fact that
IsResourceLimited =
checkResourceLimit(SchedModel->getLatencyFactor(),
getCriticalCount(),
getScheduledLatency());
, which is to me admittedly hard to grasp, but it seems that the
scheduled latency (std::max(ExpectedLatency, CurrCycle))
affects the resource heuristic so that if scheduled latency is low
e...
2018 May 09
0
[MachineScheduler] Question about IssueWidth / NumMicroOps
...r())) ||
> (!isTop() && SchedModel->mustEndGroup(SU->getInstr()))))
>
> , which also per the same lines makes me think that this is intended for the instruction stream management, or (1).
>
> There is also the fact that
>
> IsResourceLimited =
> checkResourceLimit(SchedModel->getLatencyFactor(), getCriticalCount(),
> getScheduledLatency());
>
> , which is to me admittedly hard to grasp, but it seems that the scheduled latency (std::max(ExpectedLatency, CurrCycle))
> affects the resource heuristic so that if scheduled...
2019 Sep 10
2
MachineScheduler not scheduling for latency
Hi Andy,
Thanks for the explanations. Yes AMDGPU is in-order and has
MicroOpBufferSize = 1.
Re "issue limited" and instruction groups: could it make sense to
disable the generic scheduler's detection of issue limitation on
in-order CPUs, or on CPUs that don't define instruction groups, or
some similar condition? Something like:
--- a/lib/CodeGen/MachineScheduler.cpp
+++