tqchen commented on code in PR #13569:
URL: https://github.com/apache/tvm/pull/13569#discussion_r1085733259
##########
include/tvm/ir/function.h:
##########
@@ -63,6 +63,13 @@ enum class CallingConv : int {
* - Implementation: defined by device runtime(e.g. runtime/cuda)
*/
kDeviceKernelLaunch = 2,
+ /*!
+ * \brief For functions only called by other functions within the same IR
module.
+ *
+ * Indicates that various signature transformations (e.g. those provided by
the
+ * MakePackedAPI pass) are not desired.
+ */
+ kIntraModule = 3,
Review Comment:
Would be great to specify that this is a convention that will be lowered (to
another low-level convention), or if it is supposed to a final C convention
(with restrictions)
--
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]