Skip to content

Commit 644eacc

Browse files
committed
Fix ci
1 parent f7bf793 commit 644eacc

File tree

5 files changed

+19
-3
lines changed

5 files changed

+19
-3
lines changed

paddle/phi/kernels/cpu/lookup_table_grad_kernel.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
#include <string>
1616
#include <vector>
17-
#include "paddle/phi/core/dense_tensor.h"
1817
#include "paddle/phi/backends/cpu/cpu_context.h"
18+
#include "paddle/phi/core/dense_tensor.h"
1919
#include "paddle/phi/core/enforce.h"
2020
#include "paddle/phi/core/kernel_registry.h"
2121
#include "paddle/phi/kernels/funcs/blas/blas.h"

paddle/phi/kernels/cpu/lookup_table_kernel.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515
#include <string>
1616
#include <vector>
17+
#include "paddle/phi/backends/cpu/cpu_context.h"
1718
#include "paddle/phi/core/dense_tensor.h"
1819
#include "paddle/phi/core/enforce.h"
20+
#include "paddle/phi/core/kernel_registry.h"
1921
#include "paddle/phi/kernels/funcs/blas/blas.h"
2022
#include "paddle/phi/kernels/funcs/eigen/common.h"
21-
#include "paddle/phi/backends/cpu/cpu_context.h"
22-
#include "paddle/phi/core/kernel_registry.h"
2323

2424
namespace phi {
2525

paddle/phi/kernels/gpu/lookup_table_grad_kernel.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#include "paddle/phi/core/dense_tensor.h"
1818
#include "paddle/phi/core/device_context.h"
19+
1920
#include "paddle/phi/core/selected_rows.h"
2021

2122
namespace phi {

paddle/phi/kernels/gpu/lookup_table_kernel.cu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "paddle/phi/backends/gpu/gpu_primitives.h"
1717
#include "paddle/phi/common/memory_utils.h"
1818
#include "paddle/phi/core/kernel_registry.h"
19+
1920
#include "paddle/phi/core/mixed_vector.h"
2021
#include "paddle/phi/core/selected_rows.h"
2122
#include "paddle/phi/kernels/funcs/eigen/common.h"

paddle/phi/kernels/gpu/lookup_table_kernel.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
// Copyright (c) 2025 PaddlePaddle Authors. All Rights Reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
115
// Copyright (c) 2024 PaddlePaddle Authors. All Rights Reserved.
216
//
317
// Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)