1 |
Task Parallelism is sort of supported in HPF but not clear to me that this is a great idea as better to keep sophisticated task parallelism outside HPF which is really only designed to support data parallelism
|
2 |
!HPF$ TASKING
-
!HPF$ ON HOME(p(1:8))
-
CALL foo(x,y)
-
!HPF$ ON HOME(p(9:16))
-
CALL bar(z)
|
3 |
!HPF$ END
|
4 |
This extends SPMD model with foo running on eight and bar on another processors
|
5 |
Note foo and bar are expected to contain data parallel statements which distribute execution using conventional HPF over 8 processors
|