This chapter describes how to extend Numba to make it recognize and support additional operations, functions or types. Numba provides two categories of APIs to this end:
The high-level APIs provide abstracted entry points which are sufficient for simple uses. They require little knowledge of Numba’s internal compilation chain.
The low-level APIs reflect Numba’s internal compilation chain and allow flexible interaction with its various layers, but require more effort and experience with Numba internals.
- High-level extension API
- Low-level extension API
- Example: an interval type
- Extending the typing layer
- Extending the lowering layer
- Using it
- A guide to using
- Registering Extensions with Entry Points