dagmap.yaml 5.52 KB
Newer Older
dugupeiwen's avatar
dugupeiwen committed
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
meta:
  version: 1
style:
  tags:
    performance:
      border: red
tasks:
  - label: Track allocations in functions
    id: track_alloc
    description: |
      Maintain a list of allocations inside each function which can be used
      for freeing things on return, and also for debugging memory usage.

  - label: Catch exceptions
    id: catch_exceptions
    description: |
      Allow exceptions raised in nopython mode to be caught in nopython mode.
    depends_on:
      - track_alloc


  - label: New IR
    id: new_ir
    description: |
      New intermediate representation for Numba that is backed by a dictionary

  - label: New Type Matching DSL
    id: type_matching
    description: |
      Replace the current DSL for Numba types with something more expressive
      that can match type patterns

  - label: Declarative type signatures\nfor @overload/@overload_method
    id: declarative_overload
    description: |
      Replace the current DSL for Numba types with something more expressive\n
      that can match type patterns
    depends_on:
      - type_matching

  - label: Rewrite "old-style" implementations
    id: rewrite_old_impls
    description: |
      Rewrite implementations of functions that use the old extension API that
      separates typing from implementation, and often uses the LLVM builder
      unnecessarily.
    depends_on:
      - declarative_overload
      - improve_test_suite_tooling
      - faster_pr_testing

  - label: Unify and add more test suite tooling
    id: improve_test_suite_tooling
    description: |
      Add tools to help with common patterns in testing and unify the ones we
      have, there's no need for 12 spellings of "is this Python 3" Also decide
      on "what to test", do all types need testing if inputs are being
      "as_array"'d?

  - label: Pipeline pass formalisation
    id: pass_formalisation
    description: |
      Decide on a formal description of a compiler pass and create supporting
      code for it

  - label: Array expression fusion pass
    id: new_array_expr_fusion_pass
    description:
        From parfors extract out the array expression fusion pass
    depends_on:
      - parfors_clean_up
      - pass_formalisation

  - label: LICM Pass
    id: new_licm_pass
    description: |
      Create a LICM Pass
    depends_on:
      - parfors_clean_up
      - pass_formalisation

  - label: Clean up Parfors
    id: parfors_clean_up
    description: |
      General clean up and refactoring of parfors ahead of any additional work

  - label: Mode based pipeline
    id: mode_based_pipeline
    description: |
      Switch the jit decorator to use a mode based pipeline with
      `nopython=True` equivalent as default.

  - label: Remove object mode fallback
    id: remove_objmode_fallback
    description: |
      Remove the deprecated object mode fallback
    depends_on:
        - mode_based_pipeline

  - label: Switch to ORC JIT
    id: orc_jit
    description: |
      MCJIT has been deprecated for some time.  Need to switch to the newer
      ORC JIT class.

  - label: Performance analysis suite
    id: perform_analysis_suite
    description: |
      Meta task for all performance analysis related functionality
    depends_on:
      - line_profiling
      - assembly_analysis_tooling
      - vectorisation_analysis

  - label: Vectorisation analysis
    id: vectorisation_analysis
    description: |
      Obtain LLVMs vectorisation reports and present these in a user friendly
      manner

  - label: Line profiling
    id: line_profiling
    description: |
      Support collection of profiling statistics from compiled machine code
      and map back to lines of Python.
    depends_on:
      - orc_jit
      - assembly_analysis_tooling

  - label: Assembly analysis tooling
    id: assembly_analysis_tooling
    description: |
      Tie generated assembly back to python lines and annotate instruction
      quality
    depends_on:
      - capstone

  - label: Build capstone against llvmdev
    id: capstone
    description: |
      Build capstone against llvmdev and create conda packages/wheels

  - label: Increase JIT class method performance
    id: jit_class_method_performance
    description: |
      Increase the performance of jitclass methods
    depends_on:
      - llvm_ref_count_pruning
      - new_licm_pass

  - label: LLVM level ref count pruning
    id: llvm_ref_count_pruning
    description: |
      Add a LLVM compiler pass to prune refcounts across entire functions

  - label: JITted coverage information
    id: jitted_coverage_info
    description: |
      Work out how to leverage gcov support in LLVM to enable coverage
      information
    depends_on:
      - compiler_rt

  - label: LLVM compiler_rt support
    id: compiler_rt
    description: |
      Work out how to build compiler_rt into LLVM and how to use it in Numba

  - label: Switch to pytest
    id: pytest
    description: |
      Make it possible to use pytest as test runner for Numba

  - label: Option to run modified tests only
    id: run_new_tests
    description: |
      Use / make pytest plugin to detect all test files which are new /
      changed relative to a given branch, and run only those tests
    depends_on:
      - pytest

  - label: Option to run 1/N slice of tests
    id: run_test_slice
    description: |
      Use / make pytest plugin to run 1/N of enumerated tests.
    depends_on:
      - pytest

  - label: Faster PR testing
    id: faster_pr_testing
    description: |
      Make automated PR testing with public CI services give faster feedback.
    depends_on:
      - run_new_tests
      - run_test_slice