wkcn commented on a change in pull request #14278: Use cudnn for dropout by default URL: https://github.com/apache/incubator-mxnet/pull/14278#discussion_r261444796
########## File path: tests/cpp/include/test_op.h ########## @@ -72,7 +72,7 @@ struct GPUStreamScope { : opContext_(*opContext) { CHECK_EQ(opContext_.run_ctx.stream == nullptr, true) << "Invalid runtime context stream state"; - opContext_.run_ctx.stream = mshadow::NewStream<gpu>(true, true); + opContext_.run_ctx.stream = mshadow::NewStream<gpu>(true, true, 0); Review comment: Sorry for my mistake. `opContext_.run_ctx.stream = mshadow::NewStream<gpu>(true, true, opContext_.run_ctx.ctx.dev_id);` may be better, although `opContext_.run_ctx.ctx.dev_id=0` ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services