Reparameterized in terms of micro- and nano- tiles

This commit is contained in:
Philippe Tillet
2019-03-10 23:10:17 -04:00
parent c96a263896
commit 94e315ea8a
7 changed files with 62 additions and 53 deletions

View File

@@ -16,7 +16,7 @@ void vectorize::run(ir::module &mod) {
for(ir::instruction *i: block->get_inst_list())
if(dynamic_cast<ir::copy_to_shared_inst*>(i)){
ir::value *x = i->get_operand(0);
if(params_->get_param(x, "p0.d0")->get_value() == 1)
if(params_->get_param(x, "nts.d0")->get_value() == 1)
continue;
builder.set_insert_point(i);
ir::instruction *rx = (ir::instruction*)builder.create_vectorize(x);