From d90aaa6e78b0663e8c50fe51e9c3d3415dac9188 Mon Sep 17 00:00:00 2001 From: zhangbo9674 <82555433+zhangbo9674@users.noreply.github.com> Date: Thu, 13 Oct 2022 21:08:36 +0800 Subject: [PATCH] interpretercore thread not always spin (#46687) (#46952) --- paddle/fluid/framework/new_executor/interpretercore_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/framework/new_executor/interpretercore_util.cc b/paddle/fluid/framework/new_executor/interpretercore_util.cc index 038de68ec17..0c1370edd0e 100644 --- a/paddle/fluid/framework/new_executor/interpretercore_util.cc +++ b/paddle/fluid/framework/new_executor/interpretercore_util.cc @@ -61,7 +61,7 @@ const std::vector ConstructWorkQueueOptions( group_options.emplace_back(/*name*/ "DeviceKernelLaunch", /*num_threads*/ device_num_threads, /*allow_spinning*/ true, - /*always_spinning*/ true, + /*always_spinning*/ false, /*track_task*/ false, /*detached*/ true, /*events_waiter*/ waiter); -- GitLab