Thread-level Parallelism Flashcards

(8 cards)

1
Q

What is thread-level parallelism?

A

A programming model that leverages multi-core processors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the three types of parallel architecture?

A
  1. Single Instruction, Single Data
  2. Single Instruction, Multiple Data
  3. Multiple Instruction Multiple Data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does Single Instruction Multiple data work?

A

The same instrcution is executed by multiple processors using different data streams. Each processor has its own data memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does Multiple Instruction Multiple Data work?

A

Each processor fetches its own instruction and operates on its own data. The processors are often off-the-shelf microprocessors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a thread?

A

Threads are semi-independent streams of execution spawned by a process. They share memory with each other.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a shared memory system?

A

Threads can see the data of the parent process while being assigned to different physical cores on the processor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is distributed memory parallelism?

A

The data is distributed among the processes, creating smaller sub-problems. Processes can only see their own data, and communication between them is done via messages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the two parallel libraries used?

A

OpenMP and MPI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly