forked from halide/Halide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitignore
259 lines (208 loc) · 4.94 KB
/
.gitignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
# NOTE: one can debug these rules with the following commands:
#
# $ git clean -ffdx
# $ find . -not -path './.git/*' | git check-ignore --stdin --no-index
#
# The first command will delete all files that are ignored by Git (be warned!).
# The second command will print all files that are checked in, but _would be_
# ignored under the rules in this file. Such files should either be explicitly
# added to the exclusions at the bottom of this file, or the rule excluding them
# should be refined.
################################################################################
## Exclude files without extensions
*
!*.*
!*/
################################################################################
## Halide-specific exclusions
# Images only allowed in apps and directories named "images"
*.png
!apps/**/*.png
!**/images/**/*.png
# Pre-trained weights only allowed in autoscheduler directories
*.weights
!src/autoschedulers/**/*.weights
################################################################################
## Halide-specific build artifacts
# Apps
apps/*/*.def
apps/*/*.ptx
apps/*/*.sass
apps/*/*out*.png
apps/*/filter
apps/*/passes.txt
apps/HelloAndroidGL/jni/halide_gl_filter.h
# Autoschedulers
**/src/autoschedulers/adams2019/baseline.cpp
**/src/autoschedulers/adams2019/cost_model.h
**/src/autoschedulers/adams2019/demo.h
**/src/autoschedulers/adams2019/included_schedule_file.h
**/src/autoschedulers/adams2019/train_cost_model.h
**/src/autoschedulers/li2018/demo_gradient.h
# CMake configuration
Halide-*-deps.cmake
# Distribution headers
**/include/Halide*.h
**/include/wasm-rt*.h
# Generator executables
*.generator
# Generator outputs
*.bc
*.featurization
*.halide_compiler_log
*.halide_generated.cpp
*.ll
*.py.cpp
*.pytorch.h
*.registration.cpp
*.s
*.schedule.h
*.stmt
*.stmt.html
*.stub.h
# Linker scripts
py_*.ldscript*
# Runtime modules
_initmod*.cpp
# Tests
**/python_bindings/correctness/generators/*.h
**/test/generator/*.h
**/test/generator/external_code_extern_bitcode_32.cpp
**/test/generator/external_code_extern_bitcode_64.cpp
**/test/generator/external_code_extern_cpp_source.cpp
compile_log.txt
stderr.txt
stdout.txt
# Tutorials
**/tutorial/auto_schedule_false.h
**/tutorial/auto_schedule_true.h
**/tutorial/brighten_either.h
**/tutorial/brighten_interleaved.h
**/tutorial/brighten_planar.h
**/tutorial/brighten_specialized.h
**/tutorial/lesson_10_halide.h
**/tutorial/my_first_generator_win32.h
**/tutorial/my_first_generator.h
**/tutorial/my_second_generator_1.h
**/tutorial/my_second_generator_2.h
**/tutorial/my_second_generator_3.h
# Tutorial images that were copied to the install tree
**/tutorial/images/
!tutorial/images/
################################################################################
## Common build artifacts
# Directories
bin/
distrib/
lib/
lib64/
share/
# Binaries
*.a
*.cubin
*.dll
*.dylib
*.exe
*.lib
*.o
*.obj
*.so
*.so.*
a.out
# Compiler intermediates / debugging info
*.[ip]db
*.[pg]ch
*.d
*.dSYM
################################################################################
## Temporary and swap files
temp/
tmp/
.*.swp
.\#*
.DS_Store
*.log
*.tmp
*.txt.user*
*~
\#*\#
################################################################################
## Python
# Common virtual environment directory names
.venv/
venv/
# Python binary caches
__pycache__
*.py[cod]
################################################################################
## CMake
# User-specific configuration files
CMakeUserPresets.json
# Common build directory names
build*/
cmake[-_]build*/
# Generated config files
*-config-version.cmake
*-config.cmake
*Config.cmake
*ConfigVersion.cmake
# Build directory contents
_deps/
.cmake/
cmake_install.cmake
CMakeCache.txt
CMakeFiles/
compile_commands.json
CPack*.cmake
CTest*.cmake
CTest*.txt
install_manifest.txt
# Ninja files
*.ninja*
################################################################################
## IDE directories and metadata
# Visual Studio
.vs/
out/
CMakeSettings.json
# XCode
*.xcworkspacedata
tools/objc/*.mobileprovision
tools/objc/BUILD
xcuserdata
# CLion
.idea/
# VSCode
.vscode/
# TextMate
.tm_properties
# Sublime Text
.tags
.tags_sorted_by_file
*.sublime-*
# Vim
.clang_complete
# Emacs
tags
TAGS
################################################################################
## Halide-specific rule overrides
# Allow particular extension-less files
!gradlew
!Makefile
!packaging/ubuntu/changelog
!packaging/ubuntu/copyright
!packaging/ubuntu/triggers
# Allow XCode PCHs in the HelloiOS app
!apps/HelloiOS/**/*-Prefix.pch
# Allow the runtime to have handwritten LLVM modules
!src/runtime/*.ll
# Allow precompiled Nvidia bitcode
!src/runtime/nvidia_libdevice_bitcode/*.bc
# Anything goes in the hexagon_remote binaries
!src/runtime/hexagon_remote/**/*
# TODO: should this be checked in?
!src/autoschedulers/adams2019/included_schedule_file.schedule.h
# TODO: these should become .cmake.in
!packaging/common/HalideConfig.cmake
!packaging/common/HalideHelpersConfig.cmake