Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
b0c9f24a
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
b0c9f24a
编写于
7月 12, 2022
作者:
C
Chen Weihang
提交者:
GitHub
7月 12, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[PHI] Clean glog header in public header (#44216)
* clean glog header in public header * move marco pos
上级
682acd22
变更
13
显示空白变更内容
内联
并排
Showing
13 changed file
with
20 addition
and
2 deletion
+20
-2
paddle/phi/backends/device_manager.cc
paddle/phi/backends/device_manager.cc
+2
-0
paddle/phi/backends/dynload/port.cc
paddle/phi/backends/dynload/port.cc
+2
-0
paddle/phi/backends/dynload/port.h
paddle/phi/backends/dynload/port.h
+0
-1
paddle/phi/backends/gpu/gpu_info.cc
paddle/phi/backends/gpu/gpu_info.cc
+1
-0
paddle/phi/backends/gpu/gpu_launch_config.h
paddle/phi/backends/gpu/gpu_launch_config.h
+1
-0
paddle/phi/core/meta_tensor.cc
paddle/phi/core/meta_tensor.cc
+2
-0
paddle/phi/core/meta_tensor.h
paddle/phi/core/meta_tensor.h
+0
-1
paddle/phi/infermeta/binary.cc
paddle/phi/infermeta/binary.cc
+2
-0
paddle/phi/infermeta/ternary.cc
paddle/phi/infermeta/ternary.cc
+2
-0
paddle/phi/kernels/funcs/data_type_transform.h
paddle/phi/kernels/funcs/data_type_transform.h
+2
-0
paddle/phi/kernels/gpu/allclose_kernel.cu
paddle/phi/kernels/gpu/allclose_kernel.cu
+2
-0
paddle/phi/kernels/impl/einsum_impl.h
paddle/phi/kernels/impl/einsum_impl.h
+2
-0
paddle/phi/kernels/sparse/cpu/elementwise_grad_kernel.cc
paddle/phi/kernels/sparse/cpu/elementwise_grad_kernel.cc
+2
-0
未找到文件。
paddle/phi/backends/device_manager.cc
浏览文件 @
b0c9f24a
...
@@ -24,6 +24,8 @@
...
@@ -24,6 +24,8 @@
#include <functional>
#include <functional>
#include <regex>
#include <regex>
#include "glog/logging.h"
namespace
phi
{
namespace
phi
{
void
Device
::
CreateStream
(
stream
::
Stream
*
stream
,
void
Device
::
CreateStream
(
stream
::
Stream
*
stream
,
...
...
paddle/phi/backends/dynload/port.cc
浏览文件 @
b0c9f24a
...
@@ -18,6 +18,8 @@
...
@@ -18,6 +18,8 @@
#include <stdexcept>
#include <stdexcept>
#include <string>
#include <string>
#include "glog/logging.h"
#if !defined(_WIN32)
#if !defined(_WIN32)
#include <dlfcn.h> // dladdr
#include <dlfcn.h> // dladdr
#include <sys/stat.h>
#include <sys/stat.h>
...
...
paddle/phi/backends/dynload/port.h
浏览文件 @
b0c9f24a
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
#include <string>
#include <string>
#define GLOG_NO_ABBREVIATED_SEVERITIES // msvc conflict logging with windows.h
#define GLOG_NO_ABBREVIATED_SEVERITIES // msvc conflict logging with windows.h
#include "glog/logging.h"
#if !defined(_WIN32)
#if !defined(_WIN32)
#include <dlfcn.h> // dladdr
#include <dlfcn.h> // dladdr
...
...
paddle/phi/backends/gpu/gpu_info.cc
浏览文件 @
b0c9f24a
...
@@ -14,6 +14,7 @@ limitations under the License. */
...
@@ -14,6 +14,7 @@ limitations under the License. */
#include "paddle/phi/backends/gpu/gpu_info.h"
#include "paddle/phi/backends/gpu/gpu_info.h"
#include <sstream>
#include <vector>
#include <vector>
#include "gflags/gflags.h"
#include "gflags/gflags.h"
...
...
paddle/phi/backends/gpu/gpu_launch_config.h
浏览文件 @
b0c9f24a
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
#include <string>
#include <string>
#include <vector>
#include <vector>
#include "glog/logging.h"
#include "paddle/phi/backends/gpu/gpu_context.h"
#include "paddle/phi/backends/gpu/gpu_context.h"
#include "paddle/phi/core/enforce.h"
#include "paddle/phi/core/enforce.h"
...
...
paddle/phi/core/meta_tensor.cc
浏览文件 @
b0c9f24a
...
@@ -14,6 +14,8 @@ limitations under the License. */
...
@@ -14,6 +14,8 @@ limitations under the License. */
#include "paddle/phi/core/meta_tensor.h"
#include "paddle/phi/core/meta_tensor.h"
#include "glog/logging.h"
#include "paddle/phi/core/dense_tensor.h"
#include "paddle/phi/core/dense_tensor.h"
#include "paddle/phi/core/enforce.h"
#include "paddle/phi/core/enforce.h"
#include "paddle/phi/core/selected_rows.h"
#include "paddle/phi/core/selected_rows.h"
...
...
paddle/phi/core/meta_tensor.h
浏览文件 @
b0c9f24a
...
@@ -14,7 +14,6 @@ limitations under the License. */
...
@@ -14,7 +14,6 @@ limitations under the License. */
#pragma once
#pragma once
#include "glog/logging.h"
#include "paddle/phi/common/data_type.h"
#include "paddle/phi/common/data_type.h"
#include "paddle/phi/common/layout.h"
#include "paddle/phi/common/layout.h"
#include "paddle/phi/core/ddim.h"
#include "paddle/phi/core/ddim.h"
...
...
paddle/phi/infermeta/binary.cc
浏览文件 @
b0c9f24a
...
@@ -17,6 +17,8 @@ limitations under the License. */
...
@@ -17,6 +17,8 @@ limitations under the License. */
#include <algorithm>
#include <algorithm>
#include <vector>
#include <vector>
#include "glog/logging.h"
#include "paddle/phi/common/data_type.h"
#include "paddle/phi/common/data_type.h"
#include "paddle/phi/common/layout.h"
#include "paddle/phi/common/layout.h"
#include "paddle/phi/core/ddim.h"
#include "paddle/phi/core/ddim.h"
...
...
paddle/phi/infermeta/ternary.cc
浏览文件 @
b0c9f24a
...
@@ -14,6 +14,8 @@ limitations under the License. */
...
@@ -14,6 +14,8 @@ limitations under the License. */
#include "paddle/phi/infermeta/ternary.h"
#include "paddle/phi/infermeta/ternary.h"
#include "glog/logging.h"
#include "paddle/phi/common/layout.h"
#include "paddle/phi/common/layout.h"
#include "paddle/phi/core/ddim.h"
#include "paddle/phi/core/ddim.h"
#include "paddle/phi/kernels/funcs/common_shape.h"
#include "paddle/phi/kernels/funcs/common_shape.h"
...
...
paddle/phi/kernels/funcs/data_type_transform.h
浏览文件 @
b0c9f24a
...
@@ -14,6 +14,8 @@ limitations under the License. */
...
@@ -14,6 +14,8 @@ limitations under the License. */
#pragma once
#pragma once
#include "glog/logging.h"
#include "paddle/phi/common/data_type.h"
#include "paddle/phi/common/data_type.h"
#include "paddle/phi/core/dense_tensor.h"
#include "paddle/phi/core/dense_tensor.h"
#include "paddle/phi/kernels/cast_kernel.h"
#include "paddle/phi/kernels/cast_kernel.h"
...
...
paddle/phi/kernels/gpu/allclose_kernel.cu
浏览文件 @
b0c9f24a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#include "paddle/phi/kernels/allclose_kernel.h"
#include "paddle/phi/kernels/allclose_kernel.h"
#include "glog/logging.h"
#include "paddle/phi/core/enforce.h"
#include "paddle/phi/core/enforce.h"
#include "paddle/phi/core/kernel_registry.h"
#include "paddle/phi/core/kernel_registry.h"
...
...
paddle/phi/kernels/impl/einsum_impl.h
浏览文件 @
b0c9f24a
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
#include <set>
#include <set>
#include "glog/logging.h"
#include "paddle/phi/core/dense_tensor.h"
#include "paddle/phi/core/dense_tensor.h"
#include "paddle/phi/kernels/matmul_kernel.h"
#include "paddle/phi/kernels/matmul_kernel.h"
#include "paddle/phi/kernels/reduce_sum_kernel.h"
#include "paddle/phi/kernels/reduce_sum_kernel.h"
...
...
paddle/phi/kernels/sparse/cpu/elementwise_grad_kernel.cc
浏览文件 @
b0c9f24a
...
@@ -12,6 +12,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
...
@@ -12,6 +12,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and
limitations under the License. */
limitations under the License. */
#include "glog/logging.h"
#include "paddle/phi/backends/cpu/cpu_context.h"
#include "paddle/phi/backends/cpu/cpu_context.h"
#include "paddle/phi/core/enforce.h"
#include "paddle/phi/core/enforce.h"
#include "paddle/phi/core/kernel_registry.h"
#include "paddle/phi/core/kernel_registry.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录