transonic.backends

Backends for different accelerators

base

Base class for the Transonic backends

base_jit

SubBackend class for Transonic JIT compilation

for_classes

Make the Pythran files for the classes

pythran

Pythran Backend

cython

Cython Backend

numba

Numba backend

py

Python backend

User API

transonic.backends.set_backend_for_this_module(backend_name)[source]

Programmatically set a backend for a module

transonic.backends.make_backend_files(paths: Iterable[pathlib.Path], force=False, log_level=None, backend: str = 'pythran')[source]

Create Pythran files from a list of Python files

Functions

get_backend_name_module(module_name)

make_backend_files(paths[, force, log_level])

Create Pythran files from a list of Python files

set_backend_for_this_module(backend_name)

Programmatically set a backend for a module