xinghedyc opened a new issue #8966: NaiveEngine error in multi-threading 
URL: https://github.com/apache/incubator-mxnet/issues/8966
 
 
   when I use NaiveEngine in openmp multi-threading, I binded 2 executor on 
gpu(0) and gpu(1). 
   and do exe.forward parallelly. However I got some error when running the 
program:
   
   ```
   [08:56:51] 
/data1/yuchendai/lpr_sdk/mxnet/dmlc-core/include/dmlc/logging.h:308: [08:56:51] 
src/engine/naive_engine.cc:169: Check failed: this->req_completed_ NaiveEngine 
only support synchronize Push so far
   
   Stack trace returned 10 entries:
   [bt] (0) ./bin/test(_ZN4dmlc15LogMessageFatalD1Ev+0x30) [0x45d614]
   [bt] (1) 
/data1/yuchendai/lpr_sdk/mxnet/lib/libmxnet.so(_ZN5mxnet6engine11NaiveEngine9PushAsyncESt8functionIFvNS_10RunContextENS0_18CallbackOnCompleteEEENS_7ContextERKSt6vectorIPNS0_3VarESaISA_EESE_NS_10FnPropertyEiPKc+0x3b4)
 [0x7f3001f9f8f4]
   [bt] (2) 
/data1/yuchendai/lpr_sdk/mxnet/lib/libmxnet.so(_ZN5mxnet6engine11NaiveEngine4PushEPNS0_3OprENS_7ContextEib+0xad)
 [0x7f3001f9fd4d]
   [bt] (3) 
/data1/yuchendai/lpr_sdk/mxnet/lib/libmxnet.so(_ZN5mxnet4exec13GraphExecutor6RunOpsEbmm+0x584)
 [0x7f3002014dc4]
   [bt] (4) 
/data1/yuchendai/lpr_sdk/mxnet/lib/libmxnet.so(MXExecutorForward+0x15) 
[0x7f3001fd8935]
   [bt] (5) ./bin/test(_ZN5mxnet3cpp8Executor7ForwardEb+0x45) [0x47a0f3]
   [bt] (6) 
./bin/test(_ZN9PLATE_OCR16CustomizationOcr7forwardERKSsRSt6vectorINS_4WordESaIS4_EE+0x30b)
 [0x4793d9]
   [bt] (7) 
./bin/test(_ZNK9PLATE_OCR25CustomizationOcrInterface9RecognizeERKSsRNS_12RecognizeResEi+0x53)
 [0x45cbff]
   [bt] (8) ./bin/test() [0x458c77]
   [bt] (9) /lib64/libgomp.so.1(+0xdde5) [0x7f2ffd96ade5]
   ```
   why the NaiveEngine has asynchronous operations?
   

----------------------------------------------------------------
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

Reply via email to