wpan11nv commented on a change in pull request #5857:
URL: https://github.com/apache/incubator-tvm/pull/5857#discussion_r443790680



##########
File path: src/target/source/codegen_opencl.cc
##########
@@ -224,6 +228,25 @@ std::string CodeGenOpenCL::CastFromTo(std::string value, 
DataType from, DataType
   return os.str();
 }
 
+void CodeGenOpenCL::VisitExpr_(const CallNode* op, std::ostream& os) {
+  if (op->is_intrinsic(intrinsic::tvm_address_of)) {
+    // Overload tvm_address_of to add storage scope.
+    const LoadNode* l = op->args[0].as<LoadNode>();

Review comment:
       please use a different name. load or ld?




----------------------------------------------------------------
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:
[email protected]


Reply via email to