stu1130 commented on a change in pull request #13142: [WIP] cudnnFind** API 
does not return deterministic algorithms
URL: https://github.com/apache/incubator-mxnet/pull/13142#discussion_r248123904
 
 

 ##########
 File path: src/operator/nn/cudnn/cudnn_deconvolution-inl.h
 ##########
 @@ -562,8 +562,8 @@ class CuDNNDeconvolutionOp {
     std::vector<cudnnConvolutionFwdAlgoPerf_t> 
fwd_results(MaxForwardAlgos(s->dnn_handle_));
     int actual_fwd_algos = 0;
     auto fwd_algo_discoverer =
-        param_.cudnn_tune.value() == deconv::kOff ? 
cudnnGetConvolutionForwardAlgorithm_v7
-                                                : 
cudnnFindConvolutionForwardAlgorithm;
+        (param_.cudnn_tune.value() == conv::kOff || 
dmlc::GetEnv("MXNET_ENFORCE_DETERMINISM", 0)) ?
 
 Review comment:
   why is it conv instead of deconv here?

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

Reply via email to