Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create interfaces between reconstruction methods and libertem #10

Closed
heidemeissner opened this issue Feb 25, 2020 · 3 comments
Closed
Assignees
Labels

Comments

@heidemeissner
Copy link
Contributor

For EPIE (DESY-version and Alpaka-version) an interface between C++ and python is required.

Start with Achim's EPIE which is written in python to have an easy full workflow.

@uellue
Copy link
Member

uellue commented Feb 25, 2020

Minimal example:

  • Stand-alone Python script
  • Minimal Alpaka routine ("hello world" style, for example a sum to check correctness)
  • Interfacing between Python and Alpaka, for example via cython, ctypes etc
  • Two Python functions:
    • init() to set up data structures
    • Repeated calls to process() that moves data into the structures, triggers the Alpaka processing and receives the result

@sk1p
Copy link
Contributor

sk1p commented Feb 28, 2020

See also: https://cppyy.readthedocs.io/en/latest/ for a cling-based approach to create a Python<>C++ binding

@SimeonEhrig
Copy link
Contributor

A first version of a python interface is merged in the desy ePIE code and an improved version is WIP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants