Università degli Studi di Napoli "Parthenope"

Teaching schedule

Academic year: 
2020/2021
Belonging course: 
Course of Master's Degree Programme on APPLIED COMPUTER SCIENCE (MACHINE LEARNING AND BIG DATA)
Disciplinary sector: 
NUMERICAL ANALYSIS (MAT/08)
Language: 
Italian
Credits: 
6
Year of study: 
2
Teachers: 
Dott.ssa MARCELLINO Livia
Cycle: 
First Semester
Hours of front activity: 
48

Language

Italian

Course description

The course extends the methodologies, techniques and tools for developing algorithms and software in high performance computing environments by addressing the current issues of advanced computing tools for multi-core and GPU environments.
For laboratory activity, the course involves the use of C/C++ programming language and the CUDA environment of nVIDIA, for the development of parallel software that leverages the processing power of modern graphics processors.
Knowledge and understanding: the student must demonstrate knowledge of the fundamentals of parallel computing, the organization of the CUDA environment memory hierarchy, both hardware and software, and the parallelization strategies for some basic computational kernels of programming with and without the use of shared memory.
Ability to apply knowledge and understanding: the student must demonstrate how to use the strategies studied and the CUDA APIs to develop algorithms in a multicore/GPU environment by exploiting knowledge about parallelization issues related to high-performance and hybrid environment.
Autonomy of judgement: the student must be able to independently evaluate the results of a parallel algorithm by means of performance analysis in terms of gain, Gflops, and memory management.
Communication skills: the student should be able to illustrate a parallel algorithm and document its implementation in multicore/GPU environments.
Learning skills: the student must be able to update and deepen topics and specific applications of numerical computing, even accessing databases, on-line scientific software repositories and other tools available on the web.

Prerequisites

The attendant student must have acquired knowledge and skills transmitted in the 1st level degree, including: Parallel and Distributed Computing and Image processing. Moreover, the student must have acquired knowledge and skills transmitted in the following course of 2nd level degree: Algorithms and Data Structures II and lab ASD II, Scientific computing Application and lab ACS.

Syllabus

High Performance Computiong: Definition and Motivation (2h). Measurement of a computer's performance and software execution time (2h). Supercomputer evolution history (3h). Moore's law and subsequent refinements (1h). Graphics processors (GPUs) and CUDA environment: GPU parallelism (2h). The General Purpose GPU, Multiprocessor Array (2h). GPU Computing Units: Host and Device, the Kernel Concept, Grid and Blocks, the pitch and the concept of coalescence (6h). The CUDA architecture, Memory organization (4h). Parallel programming with CUDA and the C language (2h). The main CUDA routines: allocation, de-allocation and data exchange host/device (2h). Invocation and declaration of a kernel, memory management API, mapping process (4h). 2D data management: Picth routines, Error handling, Timing (4h). Allocation and management of data structures in the shared memory (3h). Thread synchronization routines and Device management (3h). The CUDAprof toolkit and its graphic versione CUDAprofiler (2h). The CUBLAS library of CUDA for matrix and vector basic operations (3h). Default routines for data transfer between host and device, creation of the CUBLAS environment, Error Managing and routines for basic operations (3h).

Teaching Methods

Textbooks

A. Grama, G. Karypis, V. Kumar, A. Gupta: “Introduction to Parallel Computing (2nd Edition)”. Addison Wesley
J. Sanders, E. Kandrot. Foreword by J. Dongarra: “CUDA BY EXAMPLE: An introduction to General-Purpose GPU Programming”. NVIDIA
All lessons are available as slides (in pdf format) on the e-learning platform of the Department of Science and Technology, together with self-assessment exercises, libraries manuals, exams, recent papers on the most innovative parallel topics.

Learning assessment

More information