Allow multiple_of and max_contiguous to accept n-d values (#617)

This commit is contained in:
Da Yan
2022-08-10 09:59:32 -07:00
committed by GitHub
parent cc79376222
commit 3e2953f357
8 changed files with 47 additions and 27 deletions

View File

@@ -3,10 +3,10 @@
namespace triton{
namespace ir{
metadata::metadata(kind_t kind, unsigned value)
metadata::metadata(kind_t kind, std::vector<unsigned> value)
: kind_(kind), value_(value) { }
metadata* metadata::get(kind_t kind, unsigned value) {
metadata* metadata::get(kind_t kind, std::vector<unsigned> value) {
return new metadata(kind, value);
}