Pdclab 5
Pdclab 5
EXPERIMENT NO. 5
Lab Title: Introduction to Parallel Programming with CudaC: Exploring CUDA C programming 2D
operations
LAB ASSESSMENT:
Ability to Conduct
Experiment
Data Presentation
Experiment Results
Conclusion
Objective:
• Implement and analyze various 2D array/matrix operations in CUDAC
Introduction:
The aim of this lab was to explore parallel computing techniques by implementing basic
2Dmatrix operations using CUDA C. These operations include matrix addition, matrix
multiplication, matrix transposition, and scalar multiplication. CUDA (Compute Unified Device
Architecture) provides a platform for parallel computing on NVIDIA GPUs, allowing developers
to write code that exploits data-level parallelism for large datasets, such as 2D matrices.
Experiment Setup:
• Software: CUDA toolkit, NVIDIA CUDA Compiler (NVCC), C/C++ for code
implementation.
• Hardware: A machine with an NVIDIA GPU compatible with CUDA.
Lab Tasks:
Task1: