Answers to all the assignments given in CO471
- PThreads
- Hello World Program - 0
- Hello World Program - 1
- Know Your System
- DAXPY Loop
- Dot Product with Mutex
- Signalling using Condition Variables
- Matrix Multiply
- OpenMP
- Hello World Program
- Hello World Program - Version 2
- DAXPY Loop
- Matrix Multiply
- Calculation of π
- Calculation of π - Worksharing and Reduction
- Calculation of π - Monte Carlo Simulation
- Producer-Consumer Program
- MPI
- Hello World Example
- DAXPY Loop
- Hello World Program - Send and Recv
- Calculation of π - MPI Bcast and MPI Reduce
- Reduction operation
- Collective Communication - Scatter - Gather
- MPI Derived Datatypes
- Pack and Unpack
- Derived Datatype - Indexed
- Matrix Multiplication on a Cartesian Grid (2D Mesh) using Cannon’s Algorithm
- CUDA
- Squares of Integers
- Device Query
- Vector Addition Program
- Synchronization operation in CUDA
- SSSP
- Boyer-Moore Algorithm
- Sorting
- Blur an Image
- Graph Coloring using GPUs