Description: Description: Description: Description: Description: Description: UCY

University of Cyprus
Dept. of Computer Science

ΕΠΛ 372: Παράλληλη Επεξεργασία

Εαρινό 2016



EPL372 | Course Contract | Lectures & Readings | Assignments | Labs | Resources | Ανακοινώσεις


 

Θέματα Εργαστήριων

 

Week

Date

Περιγραφή / ΑΝΑΓΝΩΣΜΑΤΑ

Διαφάνειες

1

19/01/2016

Εισαγωγή Στον Προγραμματισμό Παράλληλων Συστημάτων
Παράλληλος Προγραμματισμός με
Fork

http://man7.org/linux/man-pages/man2/fork.2.html

EPL372IntroToParallelProgramming.pdf

speedup.xls

forkExample1.c

forkExample2.c

2

26/01/2016

Threads and pThreads, pthread_create, pthread_join.

 

https://computing.llnl.gov/tutorials/pthreads/

http://pubs.opengroup.org/onlinepubs/7908799/xsh/pthread.h.html

http://pubs.opengroup.org/onlinepubs/7908799/xsh/pthread_create.html

EPL372Lab2_pThreads.pdf

thread-create.c

thread-create_race.c

thread-create_return.c

 

3

02/02/2016

More on pThreads, 2D Matrix Multiplication, Locking and Unlocking Mutexes, Condor, EPL multicore machines.

References:

https://computing.llnl.gov/tutorials/pthreads/

 

http://man7.org/linux/man-pages/man7/pthreads.7.html

 

http://research.cs.wisc.edu/htcondor/manual/v8.1/index.html

http://research.cs.wisc.edu/htcondor/manual/v8.1/2_5Submitting_Job.html

 

EPL372_Lab3_pThreadsMM_Condor.pdf

matrix_serial.c

matrix_threads.c

matrixScript.submit

support.h

4

09/02/2016

Profiling and Debugging multithreaded programs  with gprof and gdb for pThreads

https://sourceware.org/binutils/docs/gprof/

https://code.google.com/p/jrfonseca/wiki/Gprof2Dot

https://sourceware.org/gdb/onlinedocs/gdb/Threads.html

http://users.ece.utexas.edu/~adnan/gdb-refcard.pdf

 

 

Homework 1: pThread Parallel Verison of 2 Sum, 3 Sum και Max Sum.

EPL372_Lab4_gprog_gdb.pdf

matrix_threads_gprof.c

gprof2dot.py

 

 

5

16/02/2016

Cyprus Institute Presentation on Cy-Tera

http://cytera.cyi.ac.cy/

http://cytera.cyi.ac.cy/index.php/user-support/documentation.html#howToAccess

http://supercomputing.cyi.ac.cy/

 

CyTERA_Hands-on.pdf

6

23/02/2016

Introduction to MPI with Some Examples

https://computing.llnl.gov/tutorials/mpi/

https://www.open-mpi.org/doc/v1.8/

 

EPL372_Lab5_MPIintro.pdf

mpi_hello.c

mpi_helloBsend.c

mpi_helloNBsend.c

Message Passing Interface (MPI).pdf

 

7

01/03/2016

Matrix Multiplication on MPI

mpirunMM.sh

mpi_mm.c

serial_mm.c

8

08/03/2016

Introduction to OpenMP

https://computing.llnl.gov/tutorials/openMP/

http://openmp.org/wp/openmp-specifications/

http://openmp.org/mp-documents/OpenMP-4.0-C.pdf

http://openmp.org/mp-documents/OpenMP4.0.0.Examples.pdf

http://www.training.prace-ri.eu/uploads/tx_pracetmo/omp_tutorial2.pdf

EPL372_Lab5_OpenMP_Intro.pdf

example1OMP.c

example2OMP.c

example3OMP.c

 

9

15/03/2016

Exercise Matrix Multiplication in OpenMP

EPL372Lab8_OpenMP_MM.pdf

mm.c

10

22/03/2016

Introduction to GPU programming with CUDA

http://docs.nvidia.com/cuda/pdf/CUDA_C_Programming_Guide.pdf

http://www.nvidia.com/object/fermi-architecture.html

http://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#compute-capabilities

https://developer.nvidia.com/category/zone/cuda-zone

https://developer.nvidia.com/cuda-education

http://www.nvidia.com/object/what-is-gpu-computing.html#

https://developer.nvidia.com/how-to-cuda-c-cpp

http://planet64bit.com/pics/nvidia_cuda_roadmap.jpg

http://www.youtube.com/watch?v=BYJ1-XQzHx4&index=6&list=PLZHnYvH1qtOY0ZrWQgnQlj4dwGZ1pVgoj

http://www.nvidia.com/content/PDF/fermi_white_papers/NVIDIAFermiComputeArchitectureWhitepaper.pdf

http://www.geforce.com/Active/en_US/en_US/pdf/GeForce-GTX-680-Whitepaper-FINAL.pdf

http://www.nvidia.com/content/PDF/kepler/NVIDIA-Kepler-GK110-Architecture-Whitepaper.pdf

http://international.download.nvidia.com/geforce-com/international/pdfs/GeForce-GTX-750-Ti-Whitepaper.pdf

 

 

CUDA Programming 1.pdf

CUDA Programming 2.pdf

CUDA_QuickReference.pdf

CUDA_C_Programming_Guide.pdf

devicequery.cu

MM-CPU.c

MM-GPU-GM.cu

 

11

29/04/2016

Introduction to OpenCL: Matrix Multiplication in OpenCL

https://www.khronos.org/opencl/

https://www.khronos.org/registry/cl/specs/opencl-1.1.pdf

https://www.khronos.org/registry/cl/specs/opencl-2.1.pdf

http://www.nvidia.com/content/cudazone/download/OpenCL/NVIDIA_OpenCL_ProgrammingGuide.pdf

http://developer.amd.com/tools-and-sdks/opencl-zone/

http://developer.amd.com/wordpress/media/2013/07/AMD_Accelerated_Parallel_Processing_OpenCL_Programming_Guide-rev-2.7.pdf

 

 

Lab11_OpenCL_Programming.pdf

Lab11_SourceFiles.zip

12

05/04/2016

 

 

13

12/04/2016

 

 

 


[ΕΠΛ372]


Petros Panayi, © 2016