You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/12/10 20:22:39 UTC

[GitHub] eric-haibin-lin commented on a change in pull request #13150: support mkl log when dtype is fp32 or fp64

eric-haibin-lin commented on a change in pull request #13150: support mkl log when dtype is fp32 or fp64
URL: https://github.com/apache/incubator-mxnet/pull/13150#discussion_r240366334
 
 

 ##########
 File path: src/operator/tensor/elemwise_unary_op.h
 ##########
 @@ -348,6 +351,40 @@ class UnaryOp : public OpBase {
       LogUnimplementedOp(attrs, ctx, inputs, req, outputs);
     }
   }
+
+#if MSHADOW_USE_MKL == 1
+static inline void MKL_Log(int size, const float* pIn, float* pOut) {
+  vsLn(size, pIn, pOut);
+}
+
+static inline void MKL_Log(int size, const double* pIn, double* pOut) {
 
 Review comment:
   MKL_Log

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services