Skip to content

Commit

Permalink
Update cudnn_algoreg-inl.h (apache#7988)
Browse files Browse the repository at this point in the history
  • Loading branch information
solin319 authored and cjolivier01 committed Oct 22, 2017
1 parent bfb45f0 commit 84ef5cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operator/cudnn_algoreg-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class CuDNNAlgoReg {
ParamKey key{param, in_shape[0], in_shape[1], out_shape[0], cudnn_data_type,
cudnn_forward_compute_type, cudnn_backward_compute_type, sm_arch};
std::lock_guard<std::mutex> guard(lock_);
if (reg_.size() % 50 == 0) {
if (param.cudnn_tune.value() && reg_.size() % 50 == 0) {
LOG(INFO) << "Running performance tests to find the best convolution "
"algorithm, "
"this can take a while... (setting env variable "
Expand Down

0 comments on commit 84ef5cf

Please sign in to comment.