# Parallel Programming Models

- ## Data Parallelism

  - Processors apply same operation to each element of data structure.
    - Data distribution can be specified by the programmer.
    - Example: HPF

- ## Task Parallelism

  - Processors have separate tasks and can operate on different parts of the data.
  - Its all in the problem decomposition.
  - Can use multi-process or multi-thread; shared-memory or distributed-memory.

Previous slide | Next slide | Back to first slide | View graphic version