HPC++
There are two conventional modes of executing an HPC++ program.
The first is multi-threaded shared memory where the program runs within one context.
- Parallelism comes from the parallel loops and the dynamic creation of threads.
- This model of programming is very well suited to modest levels of parallelism.
The second mode of program execution is an explicit SPMD model where n copies of the same program are run on n different contexts.
- Parallelism comes from parallel execution of different tasks.
- This model is well suited for massively parallel computers.