SebastianBoblestETAS commented on a change in pull request #9950:
URL: https://github.com/apache/tvm/pull/9950#discussion_r791743178
##########
File path: src/driver/driver_api.cc
##########
@@ -47,6 +47,7 @@ TVM_REGISTER_PASS_CONFIG_OPTION("tir.disable_vectorize",
Bool);
TVM_REGISTER_PASS_CONFIG_OPTION("tir.is_entry_func", Bool);
TVM_REGISTER_PASS_CONFIG_OPTION("tir.add_lower_pass", Array<Array<ObjectRef>>);
TVM_REGISTER_PASS_CONFIG_OPTION("tir.debug_keep_trivial_loop", Bool);
+TVM_REGISTER_PASS_CONFIG_OPTION("tir.max_stack_alloca", Integer);
Review comment:
I looked into
https://github.com/apache/tvm/blob/main/tests/python/unittest/test_tir_transform_lower_tvm_builtin.py
I am not quite sure how I would test that tir.max_stack_alloca works as
expected. I would need to create an IRModule with AllocateNodes and check
whether they are or are not in there after tranformations, depending on its
value, right?
I do not really know how to do that unfortunately
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]