-
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
Parallelization with more than one port #57
Comments
Ok. So, the syntax m += a <= b => c would replicate b for as many times as there are output ports in _a, assuming that the output port count on _a and the input port count on _b would be equal, otherwise an exception would be thrown. The syntax m += a <= b ["processOne"]=> c
m += b ["processTwo"]=> d Would in this case would create something that looks like this The runtime would then have to check to ensure that the output port count on _a matched the input port count on both _c and _d. Then the one instantiated _b kernel would be replicated to match the number of ports as in the next figure. Is that the intended behavior of what you would like to implement? If so, I can help you out if you're still interested in implementing. If not, let me know and lets think though it a bit. In either case, happy to help. Apologies for the delayed response. It's been a very busy few months. -Jonathan |
Hi Jonathan, Indeed that was the intended behavior of what I wanted at the time. In between the designed has changed a little bit in my mind, I am thinking now more of a paralellization of every single kernel independently of the paralellization of the next one. So given:
I would like to give This feature has very low priority in my project right now so I will not need it for now. When I need it I think this can be achieved from outside the library (i.e. making my own Thanks again for a great library.. |
Hey Jonathan,
hope your 2018 is going well.
I have a quick question about parallel streams. Say I want to have following configuration:
Then the port
processOne
is multiplied (e.g.processOne0
,processOne1,
, etc) as many times as threads inc
and the same forprocessTwo
andd
.As I understand the current framework does not support this. Is there any specific reason why it is not supported now? And what do you think would be the efforts for introducing something like this (i.e. do you think I can implement it myself) ?
Thanks a lot for your help..
The text was updated successfully, but these errors were encountered: