1. Serial AlgorithmDirect parallelization
Explore and utilize the parallelism in existing serial algorithms, and directly transform the serial algorithms into parallel algorithms.
The method of direct parallelization by serial algorithms is one of the most common methods of parallel algorithm design;
Not all serial algorithms can be directly parallelized;
A good serial algorithm cannot be parallelized into a good parallel algorithm;
Many numerical serial algorithms can be parallelized into effective numerical parallel algorithms.
2. Redesign of Parallel Algorithms
Based on the Problem description, a new parallel algorithm is designed without considering the corresponding serial algorithm.
Explore the inherent characteristics of the problem and the relationship between parallelism;
Designing new parallel algorithms is a challenging and creative task;
The use of string periodic PRAM-CRCW algorithm is a good example;
3. Use existing algorithms to solve new problems
Find the connection between the problem solved and a resolved problem;
Transform or use known algorithms to solve problems.