Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
711knowknow
Paddle
提交
abad724e
P
Paddle
项目概览
711knowknow
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
abad724e
编写于
2月 14, 2023
作者:
H
HongyuJia
提交者:
GitHub
2月 14, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix windows copysign error (part2) (#50468)
上级
c364f41d
变更
18
隐藏空白更改
内联
并排
Showing
18 changed file
with
73 addition
and
0 deletion
+73
-0
paddle/fluid/eager/pylayer/py_layer_node.h
paddle/fluid/eager/pylayer/py_layer_node.h
+4
-0
paddle/fluid/pybind/communication.cc
paddle/fluid/pybind/communication.cc
+4
-0
paddle/fluid/pybind/communication.h
paddle/fluid/pybind/communication.h
+4
-0
paddle/fluid/pybind/communicator_py.cc
paddle/fluid/pybind/communicator_py.cc
+4
-0
paddle/fluid/pybind/communicator_py.h
paddle/fluid/pybind/communicator_py.h
+4
-0
paddle/fluid/pybind/exception.h
paddle/fluid/pybind/exception.h
+4
-0
paddle/fluid/pybind/gloo_context_py.cc
paddle/fluid/pybind/gloo_context_py.cc
+4
-0
paddle/fluid/pybind/gloo_context_py.h
paddle/fluid/pybind/gloo_context_py.h
+4
-0
paddle/fluid/pybind/imperative.cc
paddle/fluid/pybind/imperative.cc
+5
-0
paddle/fluid/pybind/imperative.h
paddle/fluid/pybind/imperative.h
+4
-0
paddle/fluid/pybind/jit.h
paddle/fluid/pybind/jit.h
+4
-0
paddle/fluid/pybind/parallel_executor.cc
paddle/fluid/pybind/parallel_executor.cc
+4
-0
paddle/fluid/pybind/place.cc
paddle/fluid/pybind/place.cc
+4
-0
paddle/fluid/pybind/pybind.cc
paddle/fluid/pybind/pybind.cc
+4
-0
paddle/fluid/pybind/slice_utils.h
paddle/fluid/pybind/slice_utils.h
+4
-0
paddle/fluid/pybind/tensor.cc
paddle/fluid/pybind/tensor.cc
+4
-0
paddle/fluid/pybind/tensor_py.h
paddle/fluid/pybind/tensor_py.h
+4
-0
paddle/fluid/pybind/uva_utils.h
paddle/fluid/pybind/uva_utils.h
+4
-0
未找到文件。
paddle/fluid/eager/pylayer/py_layer_node.h
浏览文件 @
abad724e
...
...
@@ -15,6 +15,10 @@
#pragma once
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include "paddle/fluid/eager/autograd_meta.h"
#include "paddle/fluid/eager/grad_node_info.h"
...
...
paddle/fluid/pybind/communication.cc
浏览文件 @
abad724e
...
...
@@ -15,6 +15,10 @@ limitations under the License. */
#include "paddle/fluid/pybind/communication.h"
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include <pybind11/chrono.h>
#include <pybind11/complex.h>
#include <pybind11/functional.h>
...
...
paddle/fluid/pybind/communication.h
浏览文件 @
abad724e
...
...
@@ -15,6 +15,10 @@ limitations under the License. */
#pragma once
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include "pybind11/chrono.h"
#include "pybind11/complex.h"
...
...
paddle/fluid/pybind/communicator_py.cc
浏览文件 @
abad724e
...
...
@@ -15,6 +15,10 @@ limitations under the License. */
#include "paddle/fluid/pybind/communicator_py.h"
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include <map>
#include <memory>
...
...
paddle/fluid/pybind/communicator_py.h
浏览文件 @
abad724e
...
...
@@ -15,6 +15,10 @@ limitations under the License. */
#pragma once
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include "pybind11/chrono.h"
#include "pybind11/complex.h"
...
...
paddle/fluid/pybind/exception.h
浏览文件 @
abad724e
...
...
@@ -14,6 +14,10 @@ limitations under the License. */
#pragma once
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include "paddle/fluid/platform/enforce.h"
#include "pybind11/pybind11.h"
...
...
paddle/fluid/pybind/gloo_context_py.cc
浏览文件 @
abad724e
...
...
@@ -15,6 +15,10 @@ limitations under the License. */
#include "paddle/fluid/pybind/gloo_context_py.h"
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include <pybind11/chrono.h>
#include <pybind11/complex.h>
#include <pybind11/functional.h>
...
...
paddle/fluid/pybind/gloo_context_py.h
浏览文件 @
abad724e
...
...
@@ -14,6 +14,10 @@ limitations under the License. */
#pragma once
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include "pybind11/pybind11.h"
#include "pybind11/stl.h"
...
...
paddle/fluid/pybind/imperative.cc
浏览文件 @
abad724e
...
...
@@ -15,6 +15,11 @@ limitations under the License. */
#include "paddle/fluid/pybind/imperative.h"
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include <pybind11/chrono.h>
#include <pybind11/complex.h>
#include <pybind11/functional.h>
...
...
paddle/fluid/pybind/imperative.h
浏览文件 @
abad724e
...
...
@@ -14,6 +14,10 @@ limitations under the License. */
#pragma once
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include "pybind11/pybind11.h"
#include "pybind11/stl.h"
...
...
paddle/fluid/pybind/jit.h
浏览文件 @
abad724e
...
...
@@ -14,6 +14,10 @@ limitations under the License. */
#pragma once
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include "pybind11/pybind11.h"
#include "pybind11/stl.h"
...
...
paddle/fluid/pybind/parallel_executor.cc
浏览文件 @
abad724e
...
...
@@ -13,6 +13,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include <algorithm>
#include <cctype>
...
...
paddle/fluid/pybind/place.cc
浏览文件 @
abad724e
...
...
@@ -13,6 +13,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include <algorithm>
#include <cctype>
...
...
paddle/fluid/pybind/pybind.cc
浏览文件 @
abad724e
...
...
@@ -13,6 +13,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include <algorithm>
#include <cctype>
...
...
paddle/fluid/pybind/slice_utils.h
浏览文件 @
abad724e
...
...
@@ -15,6 +15,10 @@
#pragma once
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include "paddle/fluid/framework/convert_utils.h"
#include "paddle/fluid/framework/scope_guard.h"
...
...
paddle/fluid/pybind/tensor.cc
浏览文件 @
abad724e
...
...
@@ -13,6 +13,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include <algorithm>
#include <cctype>
...
...
paddle/fluid/pybind/tensor_py.h
浏览文件 @
abad724e
...
...
@@ -15,6 +15,10 @@ limitations under the License. */
#pragma once
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include <algorithm>
#include <memory>
...
...
paddle/fluid/pybind/uva_utils.h
浏览文件 @
abad724e
...
...
@@ -15,6 +15,10 @@
#pragma once
#include <Python.h>
// Avoid a problem with copysign defined in pyconfig.h on Windows.
#ifdef copysign
#undef copysign
#endif
#include "paddle/fluid/operators/utils.h"
#include "paddle/phi/common/data_type.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录