You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/11/13 00:07:34 UTC

[GitHub] anirudh2290 commented on issue #13234: waitforall() hides errors

anirudh2290 commented on issue #13234: waitforall() hides errors
URL: https://github.com/apache/incubator-mxnet/issues/13234#issuecomment-438078186
 
 
   this is by design and has been documented in the PR: https://github.com/apache/incubator-mxnet/pull/9681 . The waitforall is generally used for synchronization and benchmarking purposes. If you want to throw the exception you can call wait to read on the variables before or after the waitall call. Adding waitall support requires a global exception ptr and complicates the implementation. To workaround you should read the the output data before or after caliing waitall. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services