szha commented on issue #20149: URL: https://github.com/apache/incubator-mxnet/issues/20149#issuecomment-819598646
@matteosal in your example above, when you invoke the same cached op from multiple threads it will cause issues. ``` /* Run cached op */ int n_outs; NDArrayHandle *out_arr = nullptr; const int *dummy_stypes = nullptr; checkedMXCall(MXInvokeCachedOp, cached_op, 1, &in_arr, dev_type, dev_id, &n_outs, &out_arr, &dummy_stypes); ``` -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org For additional commands, e-mail: issues-h...@mxnet.apache.org