Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Update cudnn_algoreg-inl.h (#7988)
Browse files Browse the repository at this point in the history
  • Loading branch information
solin319 authored and piiswrong committed Oct 21, 2017
1 parent 72b0051 commit ad20d91
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 ad20d91

Please sign in to comment.