[dnn/blocksparse] FPROP test passes!

This commit is contained in:
Philippe Tillet
2019-07-29 17:06:20 -07:00
parent 17cb2db356
commit dc11f70fad
20 changed files with 360 additions and 118 deletions

View File

@@ -294,10 +294,18 @@ value *builder::create_get_range_id(unsigned axis, const std::string &name) {
return insert(get_range_id_inst::create(ctx_, axis, name));
}
value *builder::create_get_num_program(unsigned axis, const std::string &name) {
return insert(get_num_program_inst::create(ctx_, axis, name));
}
value *builder::create_atomic_cas(value *ptr, value *cmp, value *val, const std::string &name){
return insert(atomic_cas_inst::create(ptr, cmp, val, name));
}
value *builder::create_atomic_exch(value *ptr, value *val, const std::string &name){
return insert(atomic_exch_inst::create(ptr, val, name));
}
value *builder::create_atomic_add(value *ptr, value *val, const std::string &name){
return insert(atomic_add_inst::create(ptr, val, name));
}