Skip to content

Commit

Permalink
remove enforce.h in paddle/phi/backends/xpu/xpu_header.h (#51218)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyk0314 authored Mar 7, 2023
1 parent f84f43c commit c2c1cfc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion paddle/phi/backends/xpu/xpu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ limitations under the License. */
#include <memory>

#include "paddle/phi/backends/xpu/forwards.h"
#include "paddle/phi/backends/xpu/xpu_header.h"
#include "paddle/phi/backends/xpu/xpu_info.h"
#include "paddle/phi/common/place.h"
#include "paddle/phi/core/device_context.h"
#include "xpu/runtime.h"

namespace Eigen {
struct DefaultDevice;
Expand Down
1 change: 0 additions & 1 deletion paddle/phi/backends/xpu/xpu_header.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ limitations under the License. */

#include "paddle/phi/common/bfloat16.h"
#include "paddle/phi/common/float16.h"
#include "paddle/phi/core/enforce.h"
#include "xpu/runtime.h"
#include "xpu/runtime_ex.h"
#include "xpu/xdnn.h"
Expand Down

0 comments on commit c2c1cfc

Please sign in to comment.