-
Notifications
You must be signed in to change notification settings - Fork 124
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
Question: How to get dynamic parallelism to work #66
Comments
Hello, Did you get any further with this? I'm fairly ignorant on usage of the framework at this stage, but looking at the documentation here: https://github.com/RaftLib/RaftLib/wiki/Kernel-Linkage-Modifiers instead of:
have you tried the following:
When I look at the the docs in these two places: https://github.com/RaftLib/RaftLib/wiki/Kernel-Linkage-Modifiers I am still a bit confused as to how extending |
Hi!
I have been able to get many different static graphs to work with static split/joins, but cannot figure out how to create a dynamically parallelized graph.
In the simplest use case (see code example below) there are three kernels: producer, processor and consumer. The producer and consumer extend raft:parallel_k, and the processor uses the CLONE() macro and is a standard raft::kernel, with a single input and output port. The producer and consumer use addPortTo<>() to be able to dynamically create output/input ports respectively. I have also tried using the raft::order::out parameter. However, I only run with a single processor kernel with this approach, and can't find any examples where this approach is illustrated. Can someone please tell me what I'm missing?
Best,
Henrik Möller
The text was updated successfully, but these errors were encountered: