[Apache TVM Discuss] [Development] [BYOC, CUTLASS] Dealing with Constants in C source-gen based BYOC

2021-10-31 Thread masahi via Apache TVM Discuss
The recently merged [CUTLASS BYOC](https://github.com/apache/tvm/pull/9261) relies on C-codegen based BYOC infra to JIT generate and compile C++ template classes. Currently it doesn't support Constants embedded in an external function and instead requires all weight and bias parameters etc t

[Apache TVM Discuss] [Development] [BYOC, CUTLASS] Dealing with Constants in C source-gen based BYOC

2021-10-31 Thread masahi via Apache TVM Discuss
UPDATE: For the particular case I've been working with, replacing one `is_constant()` in my pattern with `wildcard()` allowed me to avoid the need for running constant folding before pattern matching. So for now, I'm unblocked. But I still wonder if is realistic not to support Constant at all