Skip to content

Commit

Permalink
Remove leftovers from C++17 dev type check
Browse files Browse the repository at this point in the history
  • Loading branch information
nickguletskii committed May 22, 2020
1 parent 0b1355f commit 567518b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/operator/rnn-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,6 @@ class RNNOp {
}
#endif // MXNET_USE_CUDNN == 1 && defined(__CUDACC__)

#if !defined(__CUDACC__) // cuda doesn't support C++17
if (ctx_.dev_type == kCPU) {
int projection_size = 0;
if (param_.projection_size.has_value()) {
Expand Down Expand Up @@ -922,7 +921,6 @@ class RNNOp {
param_.mode);
}
}
#endif
}

void Backward(const OpContext &ctx,
Expand Down

0 comments on commit 567518b

Please sign in to comment.