cjolivier01 commented on a change in pull request #9688: [MXNET-108] Adding
BilinearResize2D and AdaptiveAvgPool2d operators
URL: https://github.com/apache/incubator-mxnet/pull/9688#discussion_r175584879
##########
File path: src/operator/adaptive_avg_pooling.cc
##########
@@ -91,7 +94,7 @@ static void
SpatialAdaptiveAveragePooling_updateGradInput_frame(
int64_t osizeH,
int64_t osizeW) {
int64_t d;
-#pragma omp parallel for private(d)
+#pragma omp parallel for
num_threads(engine::OpenMP::Get()->GetRecommendedOMPThreadCount())
Review comment:
you can still have the private(?) if you need it
----------------------------------------------------------------
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