tqchen commented on a change in pull request #7834:
URL: https://github.com/apache/tvm/pull/7834#discussion_r612406840
##########
File path: src/runtime/opencl/opencl_module.cc
##########
@@ -181,49 +185,81 @@ void OpenCLModuleNode::Init() {
e.version = workspace_->timestamp++;
kid_map_[key] = e;
}
+
+ // Use function delimiters to parse the serialized source
+ // into separate source files for each kernel primitive
+ std::string source = GetSource("cl");
Review comment:
decouple into a separate function SplitKernels
--
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]