areusch commented on a change in pull request #6950:
URL: https://github.com/apache/tvm/pull/6950#discussion_r529781778
##########
File path: src/relay/backend/contrib/codegen_c/codegen_c.h
##########
@@ -235,14 +289,14 @@ class CodegenCBase {
continue;
}
this->PrintIndents();
- code_stream_ << "std::memcpy(out" << i << ", " << outs[i].name << ", 4 *
" << outs[i].size
+ code_stream_ << "memcpy(out" << i << ", " << outs[i].name << ", 4 * " <<
outs[i].size
Review comment:
I think this explicitly avoids use of compiler builtins, which are
sometimes perhaps broken?
----------------------------------------------------------------
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]