dirty but working warp-splitting

This commit is contained in:
Philippe Tillet
2019-08-06 21:07:13 -07:00
parent 494bfa7671
commit 7b75b68edc
13 changed files with 132 additions and 69 deletions

View File

@@ -255,6 +255,8 @@ void tune::run(ir::module &mod) {
}
else {
ir::metaparameter *fpw = ir::metaparameter::create(ctx, ty, 2, 2);
if(node.second == 2)
fpw->set_value(1);
ir::metaparameter *wpt = ir::metaparameter::create(ctx, ty, 1, 4);
connected_components(node, {fpw, wpt}, {"fpw", "wpt"}, nodes_, dependencies_, group_id++);
}