Skip to content

Commit

Permalink
Purified include dependencies for global_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
jim19930609 committed Nov 24, 2021
1 parent c8e988f commit 2ba9580
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion paddle/fluid/eager/api/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cc_library(global_utils SRCS global_utils.cc DEPS enforce)
cc_library(global_utils SRCS global_utils.cc DEPS place)
5 changes: 3 additions & 2 deletions paddle/fluid/eager/api/utils/global_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@

#pragma once

#include "paddle/fluid/eager/eager_tensor.h"
#include "paddle/fluid/platform/enforce.h"
#include <atomic>
#include <memory>
#include "paddle/fluid/platform/place.h"

namespace egr {

Expand Down

0 comments on commit 2ba9580

Please sign in to comment.