-
Notifications
You must be signed in to change notification settings - Fork 75
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
Cluster task example #116
Comments
Hi @SaraNassef, The test you have referred to is part of legacy software support, which is no longer maintained and supported by the PULP team. You can now find the last commit and all the previous history of those runtime functions in the v1(https://github.com/pulp-platform/pulp-sdk/tree/v1) branch of the current pulp-sdk(https://github.com/pulp-platform/pulp-sdk) repository. Best regards, Nazareno |
Thanks @NBruschi for your reply and clarifying things, Upon your suggestion, I am using the main branch and have checked the examples you referred to, what I want to do is to send different tasks to different cluster cores to be executed simultaneously, I thought at first that the example I mentioned does so. |
Dear @SaraNassef, the test notation that you are referring to uses "task" to define a cluster job. So, there could be different simultaneous cluster tasks and the cores could do different jobs but they can not execute different tasks. Best regards, Nazareno |
Thanks @NBruschi for your suggestion, I tried something similar and it worked. I have another question, I'm trying to use a semaphore but when using the struct pi_sem_t, it gives an error that the storage size is not known, also using the semaphore functions such as pi_sem_init gives an error that it's not defined, so am I missing certain defines or flags or what should I do to be able too use these semaphore functions? |
Hi,
I want to ask if there is a cluster task example like the one available in pulp-rt-examples https://github.com/pulp-platform/pulp-rt-examples/blob/master/cluster/task/test.c as I can't find one in those examples https://github.com/GreenWaves-Technologies/pmsis_tests.
If not, can someone help me with what are the functions available in the SDK to perform such functionality or where I can find them.
Thanks in advance
The text was updated successfully, but these errors were encountered: