Skip to content

Commit 997e9a1

Browse files
committed
fix mac compile
1 parent d908c3b commit 997e9a1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

paddle/fluid/framework/details/var_handle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
namespace paddle {
2323
namespace framework {
2424
namespace details {
25-
struct OpHandleBase;
25+
class OpHandleBase;
2626

2727
// VarHandleBase is the var node in the dependency graph.
2828
// A variable can only be generated by a single operator. i.e.

paddle/fluid/framework/parallel_executor.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ See the License for the specific language governing permissions and
1313
limitations under the License. */
1414

1515
#include "paddle/fluid/framework/parallel_executor.h"
16+
1617
#include <string>
18+
#include <vector>
1719

18-
#include "ThreadPool.h"
20+
#include "paddle/fluid/framework/threadpool.h"
1921

2022
#ifdef PADDLE_WITH_CUDA
2123
#include "paddle/fluid/platform/nccl_helper.h"

0 commit comments

Comments
 (0)