Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
for retrigger
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaotaoChen committed Dec 14, 2018
1 parent 9206a72 commit faf4fef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/operator/tensor/elemwise_unary_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ class UnaryOp : public OpBase {
const std::vector<OpReqType>& req,
const std::vector<TBlob>& outputs) {
if (req[0] == kNullOp) return;
// if defined MSHADOW_USE_MKL then call mkl log when req is KWriteTo, type_flag is
// mshadow::kFloat32 or mshadow::kFloat64 and data size less than or equal MKL_INT_MAX
// if defined MSHADOW_USE_MKL then call mkl log when req is KWriteTo, type_flag
// is mshadow::kFloat32 or mshadow::kFloat64 and data size less than or equal MKL_INT_MAX
#if MSHADOW_USE_MKL == 1
auto type_flag = inputs[0].type_flag_;
const size_t MKL_INT_MAX = (sizeof(MKL_INT) == sizeof(int)) ? INT_MAX : LLONG_MAX;
Expand Down

0 comments on commit faf4fef

Please sign in to comment.