You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/09/28 03:32:10 UTC

[GitHub] [tvm] wrongtest commented on a change in pull request #9121: [TIR] add loop partition hint pragma

wrongtest commented on a change in pull request #9121:
URL: https://github.com/apache/tvm/pull/9121#discussion_r717195678



##########
File path: include/tvm/tir/stmt.h
##########
@@ -1339,6 +1339,12 @@ constexpr const char* hand_threaded = "hand_threaded";
  *       if (mask & 2) the write region should be detected.
  */
 constexpr const char* script_parsing_detect_access = "tir.script_parsing_detect_access";
+
+/*!
+ * \brief Mark that the loop should be partitioned.
+ */
+constexpr const char* pragma_loop_partition_hint = "pragma_loop_partition_hint";

Review comment:
       I encounter the problem that the `tir.` prefix seems not compatible with `s[X].pragma(axis, key)`, which add an "pragma_" prefix to key string.




-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org