echuraev commented on a change in pull request #7980:
URL: https://github.com/apache/tvm/pull/7980#discussion_r630889037
##########
File path: src/runtime/metal/metal_module.mm
##########
@@ -43,7 +44,9 @@
public:
explicit MetalModuleNode(std::string data, std::string fmt,
std::unordered_map<std::string, FunctionInfo> fmap,
std::string source)
- : data_(data), fmt_(fmt), fmap_(fmap), source_(source) {}
+ : data_(data), fmt_(fmt), fmap_(fmap), source_(source) {
+ parsed_kernels_ = SplitKernels(GetSource(fmt_));
Review comment:
You are right. Thank you. We can use `data_` here.
--
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]