-
Notifications
You must be signed in to change notification settings - Fork 58
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
[DAPHNE-#525] DaphneDSL map(): UDFs in Other Languages (e.g., Python, C++) #608
Open
StoeckOverflow
wants to merge
107
commits into
daphne-eu:main
Choose a base branch
from
StoeckOverflow:525-UDFs-Python-Ctypes-Approach
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[DAPHNE-#525] DaphneDSL map(): UDFs in Other Languages (e.g., Python, C++) #608
StoeckOverflow
wants to merge
107
commits into
daphne-eu:main
from
StoeckOverflow:525-UDFs-Python-Ctypes-Approach
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks for this contribution @StoeckOverflow! Enabling DaphneDSL The two of us have already discussed this matter and I will provide some feedback on your code soon. |
pdamme
added
the
LDE summer 2023
Student project in the course Large-scale Data Engineering at TU Berlin (summer 2023).
label
Sep 13, 2023
StoeckOverflow
changed the title
DaphneDSL map(): UDFs in Other Languages (e.g., Python, C++) #525
[DAPHNE-#525] DaphneDSL map(): UDFs in Other Languages (e.g., Python, C++)
Sep 17, 2023
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
LDE summer 2023
Student project in the course Large-scale Data Engineering at TU Berlin (summer 2023).
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces a new kernel for invoking map kernels from other programming languages and provides methods for the data transfer between DAPHNE and Python (see Issue #525 ).
Features:
Details:
- Kernel for invoking map kernels: src/runtime/local/kernels/MapExternalPL.h
- Four Python map kernels: src/runtime/local/kernels/MAP_EXTERNAL/..
- Integrated a global PythonInterpreter singleton class to manage Python interactions: src/util/PythonInterpreter
- Basic functionality tests for different map kernels: test/runtime/local/kernels/AlternativeMapTest
- General use-case scripts:
scripts/examples/map/map-GeneralExample.daph
scripts/examples/map/mapExternalPL-UtilityExample.daph
- Performance testing scripts: scripts/examples/map/performanceTest/..
- New operation (MapOpExternal) for Lowering of new Kernel: src/ir/daphneir/DaphneOps.td
- New map entry: doc/DaphneDSL/Builtins.md
- Guidance for extending the map kernel: doc/developement/ImplementBuiltinKernel.md