comaniac commented on a change in pull request #5770:
URL: https://github.com/apache/incubator-tvm/pull/5770#discussion_r441748628



##########
File path: src/relay/backend/contrib/codegen_c/codegen_c.h
##########
@@ -299,6 +301,55 @@ class CodegenCBase {
     return dtype;
   }
 
+  /*!
+   * \brief Creates a checker to check if the NDArray pool is initialized
+   *
+   * \param symobl The Symbol of the current function
+   *
+   * \return The created checker
+   */
+  std::string CreateInitChecker(const std::string& symbol) const {
+    std::ostringstream oss;
+    oss << "CHECK(!" << symbol
+        << "_consts.empty()) << \"DNNL source module hasn't been 
initialized.\";\n";

Review comment:
       s/DNNL/C/




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

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


Reply via email to