Skip to content

Auto-generation of basic ufuncs with numba #3

@sklam

Description

@sklam

@skrah

Here're the scripts to generate a .o file with basic ufuncs supported by numba:
https://gist.github.com/sklam/977dd295324db10868542567f526ecf6

Usage:

  • python ufunc_gen.py to create umath.o.
  • run cc -shared -o umath.so umath.o.
  • test with python check_ufunc_gen.py.

See top of file comments for details like ABI and symbol mangling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions