szha commented on a change in pull request #12926: parallelize
NDArray::Copy<cpu, cpu> when data size is large
URL: https://github.com/apache/incubator-mxnet/pull/12926#discussion_r227907717
##########
File path: src/ndarray/ndarray_function.cc
##########
@@ -32,19 +32,34 @@
namespace mxnet {
namespace ndarray {
+template<typename DType>
+void OMPCopy(const TBlob &from, TBlob *to, const index_t size) {
Review comment:
This doesn't seem NDArray-specific. Consider putting it in
src/common/(utils.h?)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services