SPPU Practical Codes of subject High Performance Computing. [BE-comp 7th Semester]
a) Implement Parallel Reduction using Min, Max, Sum and Average operations. b) Write CUDA programs that, given an N-element vector, find Home Faculty of Engineering Savitribai Phule Pune University Syllabus for Fourth Year of Computer Engineering.
- The maximum element in the vector.
- The minimum element in the vector.
- The arithmetic mean of the vector.
- The standard deviation of the values in the vector.
Test for input N and generate a randomized vector V of length N (N should be large). The program should generate output as the two computed maximum values as well as the time taken to find each value.
Vector and Matrix Operations Design parallel algorithm to
- Add two large vectors.
- Multiply Vector and Matrix.
- Multiply two N × N arrays using n2 processors.
Parallel Sorting Algorithms for Bubble Sort and Merger Sort, based on existing sequential algorithms, design and implement parallel algorithm utilizing all resources available.
Parallel Search Algorithm- Design and implement parallel algorithm utilizing all resources available. For
- Binary Search for Sorted Array
- Depth-First Search (tree or an undirected graph )
- Breadth-First Search ( tree or an undirected graph)
Vishal R. Sonar PCETs Pimpri Chinchwad College of Engineering and Research, Pune