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 2019/02/02 06:50:32 UTC

[GitHub] pengzhao-intel commented on a change in pull request #14031: Fix transposed convolution in CPU w/o MKLDNN.

pengzhao-intel commented on a change in pull request #14031: Fix transposed convolution in CPU w/o MKLDNN.
URL: https://github.com/apache/incubator-mxnet/pull/14031#discussion_r253256584
 
 

 ##########
 File path: src/operator/nn/deconvolution-inl.h
 ##########
 @@ -226,22 +227,24 @@ class DeconvolutionOp {
     CHECK_EQ(in_data.size(), expected);
     CHECK_EQ(out_data.size(), 1U);
     Stream<xpu> *s = ctx.get_stream<xpu>();
+#if defined(__CUDACC__)
+    CHECK_EQ(s->blas_handle_ownership_, Stream<xpu>::OwnHandle)
+        << "Must init CuBLAS handle in stream";
 
 Review comment:
   "cuBLAS" is the official abbreviation :)

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