zhreshold commented on a change in pull request #18379:
URL: https://github.com/apache/incubator-mxnet/pull/18379#discussion_r428841505



##########
File path: src/io/batchify.cc
##########
@@ -150,7 +150,7 @@ class StackBatchify : public BatchifyFunction {
         }
         int sbs = static_cast<int>(bs);
         MSHADOW_TYPE_SWITCH_WITH_BOOL(dtype, DType, {
-          _Pragma("omp parallel for num_threads(bs)")
+          #pragma omp parallel for num_threads(bs)

Review comment:
       use `__pragma` for msvc if it does not support `_Pragma`




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to