<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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<br>
generic scheduler's functionality as a base class or composition of utilities so that defining your strategy doesn't require too much<br>
copy-paste.</blockquote><div><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​Isn't GCNMaxOccupancySchedStrategy [1] already an example on using GenericScheduler as the base class?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[1] <a href="http://llvm.org/doxygen/classllvm_1_1GCNMaxOccupancySchedStrategy.html">http://llvm.org/doxygen/classllvm_1_1GCNMaxOccupancySchedStrategy.html</a></div></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Wei-Ren Chen (陳韋任)<br>Homepage: <a href="https://people.cs.nctu.edu.tw/~chenwj" target="_blank">https://people.cs.nctu.edu.tw/~chenwj</a></div></div></div>
</div></div>