SebastianBoblestETAS commented on a change in pull request #9950:
URL: https://github.com/apache/tvm/pull/9950#discussion_r795526391



##########
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:
       Hi, sorry that this took me so long. I moved the option to 
lover_tvm_builtin.cc as proposed. I also created a test for this but it fails 
with 
   Check failed: (device_type_.defined()) is false: Unknown device type in 
current IR
   
   How can I specify a device?
   
   I did not yet push this to this branch here, but the changes I made are here:
   
https://github.com/SebastianBoblestETAS/tvm/compare/makeMaxStackAllocaConfigurable...SebastianBoblestETAS:makeMaxStackAllocaConfigurableFix
   




-- 
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]


Reply via email to