Numbast is an automated toolchain that bridges CUDA C++ and Python by generating Numba-compatible bindings directly from CUDA header files. Its primary goal is to eliminate the manual effort required to expose CUDA libraries to Python, enabling developers to use GPU-accelerated functionality in Python environments more easily. The system parses CUDA C++ declarations and converts them into Python bindings that can be used within Numba, allowing seamless integration with Python-based GPU workflows. This approach significantly improves developer productivity by reducing boilerplate code and ensuring consistency between C++ and Python interfaces. Numbast is particularly useful for teams working with custom CUDA libraries or extending existing ones into Python ecosystems for data science and machine learning. It complements tools like Numba, which compile Python code into GPU-executable kernels, by expanding the range of accessible CUDA functionality.
Features
- Automated generation of Python bindings from CUDA headers
- Integration with Numba for GPU execution
- Elimination of manual wrapper code
- Support for CUDA C++ library interoperability
- Pipeline-based parsing and code generation system
- Improved productivity for Python GPU development