Skip to content

Commit

Permalink
fix Resource::DumpCudnnConf
Browse files Browse the repository at this point in the history
  • Loading branch information
clackhan committed Dec 16, 2021
1 parent e22c5e0 commit f07278d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion oneflow/core/job/resource_desc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ bool ResourceDesc::nccl_use_compute_stream() const {
}

void ResourceDesc::DumpCudnnConf(const JobConfigProto& job_conf) {
resource_.clear_cudnn_conf();
auto* cudnn_conf = resource_.mutable_cudnn_conf();
if (job_conf.has_enable_cudnn()) { cudnn_conf->set_enable_cudnn(job_conf.enable_cudnn()); }
if (job_conf.has_cudnn_buf_limit_mbyte()) {
Expand Down

0 comments on commit f07278d

Please sign in to comment.