Skip to content

Commit 0abd1bb

Browse files
Merge pull request #29 from PaddlePaddle/develop
update
2 parents e1fe6dc + 663ebd5 commit 0abd1bb

10,834 files changed

Lines changed: 1216394 additions & 314948 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clang-format

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ Standard: Cpp11
2424
AllowAllParametersOfDeclarationOnNextLine: true
2525
BinPackParameters: false
2626
BinPackArguments: false
27+
IncludeBlocks: Preserve
28+
IncludeIsMainSourceRegex: (\.cu)$
2729
...

.cmake-format.py

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# Copyright (c) 2022 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+
15+
# -----------------------------
16+
# Options affecting formatting.
17+
# -----------------------------
18+
with section("format"):
19+
20+
# How wide to allow formatted cmake files
21+
line_width = 80
22+
23+
# ------------------------------------------------
24+
# Options affecting comment reflow and formatting.
25+
# ------------------------------------------------
26+
with section("markup"):
27+
# enable comment markup parsing and reflow
28+
enable_markup = False
29+
30+
# If comment markup is enabled, don't reflow the first comment block in each
31+
# listfile. Use this to preserve formatting of your copyright/license
32+
# statements.
33+
first_comment_is_literal = True
34+
35+
# ----------------------------------
36+
# Options affecting listfile parsing
37+
# ----------------------------------
38+
with section("parse"):
39+
# Additional FLAGS and KWARGS for custom commands
40+
additional_commands = {
41+
"cc_library": {
42+
"kwargs": {
43+
"SRCS": '*',
44+
"DEPS": '*',
45+
}
46+
},
47+
"nv_library": {
48+
"kwargs": {
49+
"SRCS": '*',
50+
"DEPS": '*',
51+
}
52+
},
53+
"hip_library": {
54+
"kwargs": {
55+
"SRCS": '*',
56+
"DEPS": '*',
57+
}
58+
},
59+
"xpu_library": {
60+
"kwargs": {
61+
"SRCS": '*',
62+
"DEPS": '*',
63+
}
64+
},
65+
"hip_library": {
66+
"kwargs": {
67+
"SRCS": '*',
68+
"DEPS": '*',
69+
}
70+
},
71+
"hip_library": {
72+
"kwargs": {
73+
"SRCS": '*',
74+
"DEPS": '*',
75+
}
76+
},
77+
"go_library": {
78+
"kwargs": {
79+
"SRCS": '*',
80+
"DEPS": '*',
81+
}
82+
},
83+
"copy": {
84+
"kwargs": {
85+
"SRCS": '*',
86+
"DSTS": '*',
87+
}
88+
},
89+
"cc_test": {
90+
"kwargs": {
91+
"SRCS": '*',
92+
"DEPS": '*',
93+
}
94+
},
95+
"nv_test": {
96+
"kwargs": {
97+
"SRCS": '*',
98+
"DEPS": '*',
99+
}
100+
},
101+
"hip_test": {
102+
"kwargs": {
103+
"SRCS": '*',
104+
"DEPS": '*',
105+
}
106+
},
107+
"xpu_test": {
108+
"kwargs": {
109+
"SRCS": '*',
110+
"DEPS": '*',
111+
}
112+
},
113+
"go_test": {
114+
"kwargs": {
115+
"SRCS": '*',
116+
"DEPS": '*',
117+
}
118+
},
119+
"py_test": {
120+
"kwargs": {
121+
"SRCS": '*',
122+
"DEPS": '*',
123+
}
124+
}
125+
}

.github/ISSUE_TEMPLATE/---document-issue-.md

Lines changed: 0 additions & 59 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/---feature-request-.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/---inference-issue-.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/---installation-issue-.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/---model-issue-.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/---others-.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)