Commit 2f300c2
authored
Added Proper Include What You Use (CNugteren#627)
* Made all utilities and backend stuff available through the utilities/utilities.hpp header to avoid needless dozens of includes.
* Removed timing.hpp from include because it used by tuners and diagnostics.
* Added clblast_half.h into the utilities.hpp to be exported because it is a utility to interface with half.
* Made the backend files not actually export themselves to prevent suggestions for IWYU.
* Removed transistive includes from utility because there isn't too many headers that it is necessary.
* Updated src/tuning/* with IWYU.
* Updated src/routines/ and src/routines/level1 with IWYU.
* Did all the files in src/routines/level2/
* Did IWYU on some of the files in src/routines/level3
* Finished IWYU on level 3 routines.
* Added IWYU to the levelx routines.
* Fixed the general purpose files in src/, the CUDA API should also be fixed but it might not be.
* Exported 2 utilities in utilities/utilities.hpp because they ensure the library works with MSVC and android.
* Applied IWYU to the database files that needed to be changed.
* Applied IWYU to clblast_c.h in the include folder.
* Removed android.hpp from include because it isn't supposed to be included explicitly.
* Did minimalist changes to the tests to make sure they compile. Tested with cblas.
* Added the .clangd used to apply IWYU for future contributors.
* Removed unwanted includes of CL/cl.h
* Fixed stddef include for the C API.
* Removed open blas specific include that should not be there.
* Fixed compilation error in test/routines/levelx/xhad.hpp
* Update changelog.
* Fixed clang format
* Added missing include in a routine test to fix appveyor compilation.
* Removed unused file.
* Fixed HEADERS var.
* Added Include What You Use for src/tuning/tuning.hpp
* Added routines.hpp again to avoid duplication in api_common, clblast_cuda, and clblast.cpp
* Improved readability and decreased the amount of pragmas.
* Updated CMakeLists.txt; added routines.hpp into the HEADERS var.1 parent d176318 commit 2f300c2
File tree
184 files changed
+1042
-70
lines changed- include
- src
- database
- routines
- level1
- level2
- level3
- levelx
- tuning
- kernels
- routines
- utilities
- test
- correctness
- performance
- routines/levelx
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
184 files changed
+1042
-70
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
16 | 19 | | |
17 | | - | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
| 17 | + | |
15 | 18 | | |
| 19 | + | |
16 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | | - | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
0 commit comments