You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening a document issue. We will listen to your opinions carefully and make improvements.
35
+
36
+
In order to quickly solve your problem, when creating an issue, please provide the following information:
37
+
**Document Information**
38
+
- Title:Please include the keyword "XXX document issue", such as "add document issue" or "paddle.add document issue"
39
+
- Doc Version:Please provide the version of the document, such as develop, 1.8, 2.0RC;
40
+
41
+
### Describe the problem:
42
+
43
+
#### Document description is clear?
44
+
For example: I don’t understand this document, I don’t know how to use this API; The formula in this doc is unclear;
45
+
46
+
#### Parameter description is clear?
47
+
For example: The parameters are confusing, including usage, scenarios, default values, etc.
48
+
49
+
#### Return/Shape description is clear
50
+
For example: Data returned this doc is error, shape returned is not clear.
51
+
52
+
#### The sample code is clear?
53
+
For example: no sample code; The sample code is not helpful; The sample code not run well; Format of the sample is not reasonable; The sample code has no comments.
54
+
55
+
#### Chinese content and English content is consistent?
56
+
For example:Chinese API in this doc is inconsistent with English API, including params, description, sample code, formula, etc.
57
+
58
+
#### Other
59
+
For example: The doc link is broken; The doc page is missing; Dead link in docs.
option(WITH_GPU "Compile PaddlePaddle with NVIDIA GPU"${CUDA_FOUND})
31
-
option(WITH_XPU "Compile PaddlePaddle with BAIDU KUNLUN"OFF)
32
+
option(WITH_TENSORRT "Compile PaddlePaddle with NVIDIA TensorRT"OFF)
33
+
option(WITH_XPU "Compile PaddlePaddle with BAIDU KUNLUN XPU"OFF)
34
+
option(WITH_WIN_DUMP_DBG "Compile with windows core dump debug mode"OFF)
35
+
option(WITH_ASCEND "Compile PaddlePaddle with ASCEND"OFF)
32
36
if (WITH_GPU AND WITH_XPU)
33
37
message(FATAL_ERROR "Error when compile GPU and XPU at the same time")
34
38
endif()
35
-
# cmake 3.12, 3.13, 3.14 will append gcc link options to nvcc, and nvcc doesn't recognize them.
36
-
if(WITH_GPU AND (${CMAKE_VERSION}VERSION_GREATER_EQUAL 3.12) AND (${CMAKE_VERSION}VERSION_LESS 3.15))
37
-
message(FATAL_ERROR "cmake ${CMAKE_VERSION} is not supported when WITH_GPU=ON because of bug https://cmake.org/pipermail/cmake/2018-September/068195.html. "
38
-
"You can use cmake 3.16 (recommended), 3.10, 3.11, 3.15 or 3.17. Please refer to the install document: https://cmake.org/install/")
39
+
if (WITH_GPU AND WITH_ASCEND)
40
+
message(FATAL_ERROR "Error when compile GPU and ASCEND at the same time")
0 commit comments