[llvm-dev] mischeduler (pre-RA) experiments

Andrew Trick via llvm-dev llvm-dev at lists.llvm.org
Sat Nov 25 10:10:16 PST 2017



> On Nov 24, 2017, at 6:00 PM, 陳韋任 <chenwj.cs97g at g2.nctu.edu.tw> wrote:
> 
> Of course, you want to duplicate as little of the generic scheduling logic as you can. So I think the challenge is how to expose the
> generic scheduler's functionality as a base class or composition of utilities so that defining your strategy doesn't require too much
> copy-paste.
> 
> ​Isn't GCNMaxOccupancySchedStrategy [1] already an example on using GenericScheduler as the base class?
> 
> [1] http://llvm.org/doxygen/classllvm_1_1GCNMaxOccupancySchedStrategy.html <http://llvm.org/doxygen/classllvm_1_1GCNMaxOccupancySchedStrategy.html>
Yes. I think GenericScheduler and related logic should continue to evolve to make that approach easier and more clear. The idea should be “take what you need and build on top". Not “take everything and randomly fiddle with dozens of knobs”.
-Andy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171125/da8c56c8/attachment.html>


More information about the llvm-dev mailing list