Allow multiple_of and max_contiguous to accept n-d values (#617)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user