Merge pull request #5721 from tensor-tang/omp

fix typo
release/0.11.0
Tao Luo 8 years ago committed by GitHub
commit 1f00a70bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,7 +30,7 @@ void sgdUpdateCpu(real learningRate,
const real* grad,
real* momentumVec) {
decayRate *= learningRate;
#ifdef PADDLE_USE_MKLDNN
#ifdef PADDLE_USE_MKLML
#pragma omp parallel for
#endif
for (size_t i = 0; i < size; ++i) {

Loading…
Cancel
Save