提交 8d64715c 编写于 作者: 卢旭辉

Merge branch 'fix_tuning_config' into 'master'

fix unnecessary GPUContext creating, avoiding mace_run.config overrided

See merge request !1188
......@@ -226,7 +226,7 @@ MaceEngineConfig::Impl::Impl(const DeviceType device_type)
: device_type_(device_type),
num_threads_(-1),
cpu_affinity_policy_(CPUAffinityPolicy::AFFINITY_NONE),
gpu_context_(new GPUContext),
gpu_context_(nullptr),
gpu_priority_hint_(GPUPriorityHint::PRIORITY_LOW),
gpu_perf_hint_(GPUPerfHint::PERF_NORMAL) {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册