bh107 / bohrium

Automatic parallelization of Python/NumPy, C, and C++ codes on Linux and MacOSX
http://www.bh107.org
Apache License 2.0
220 stars 31 forks source link

bohr: the pybind11 bindings #634

Open madsbk opened 4 years ago

madsbk commented 4 years ago

The idea is to implement a Python interface with a minimal overhead.

Preliminary performance

Running this small benchmark produces on my laptop:

Numpy:    0.06131768226623535
Bohr:     0.4523584842681885
Bohrium:  8.404689311981201
jamesavery commented 4 years ago

Cool! :D

On Sun, 11 Aug 2019, 16:36 Mads R. B. Kristensen, notifications@github.com wrote:

The idea is to implement a Python interface with a minimal overhead. Preliminary performance

Running this small benchmark code produces on my laptop:

Numpy: 0.06131768226623535 Bohr: 0.4523584842681885 Bohrium: 8.404689311981201


You can view, comment on, or merge this pull request online at:

https://github.com/bh107/bohrium/pull/634 Commit Summary

  • Testing concept
  • Added a small benchmark

File Changes

Patch Links:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bh107/bohrium/pull/634?email_source=notifications&email_token=AAAMO2FEL3E6UM2S44A237LQEAPWVA5CNFSM4IK36DZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HESWPNA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAMO2B63IGWOI7Y27AOIGLQEAPWVANCNFSM4IK36DZA .