Postgraduate Course: Threaded Programming (PGPH11077)
Course Outline
School | School of Physics and Astronomy |
College | College of Science and Engineering |
Course type | Standard |
Availability | Not available to visiting students |
Credit level (Normal year taken) | SCQF Level 11 (Postgraduate) |
Credits | 10 |
Home subject area | Postgraduate (School of Physics and Astronomy) |
Other subject area | None |
Course website |
None |
Taught in Gaelic? | No |
Course description | After taking this course students should have a good practical understanding of multithreaded programming. They should be competent OpenMP programmers, and have some experience of programming with Java threads. Students should have an appreciation of alternative APIs for multithreaded programming, and their relative merits.
The course will cover the following topics:
- Basic concepts of shared memory: threads, tasks, shared/private data, synchronisation.
- Concepts of OpenMP: parallel regions, shared/private variables, parallel loops, reductions
- OpenMP parallel regions and associated clauses
- OpenMP worksharing directives, scheduling of parallel loops
- OpenMP synchronisation: barriers, critical sections, atomics, locks.
- OpenMP tasks
- Additional features of OpenMP: nesting, orphaning, threadprivate globals.
- Java threads: creating and joining threads, executor services.
- Thread synchronisation in Java: mutual exclusion, atomics, barriers, semaphores.
- Basic concepts of Posix threads, Boost/C++0x threads, Intel TBB.
- Comparison of APIs
Lectures will be followed by tutored practical sessions illustrating the key concepts. Students will have the choice of using either C or Fortran in the practical programming sessions on OpenMP. |
Entry Requirements (not applicable to Visiting Students)
Pre-requisites |
|
Co-requisites | |
Prohibited Combinations | |
Other requirements | None |
Additional Costs | None |
Course Delivery Information
|
Delivery period: 2013/14 Semester 1, Not available to visiting students (SS1)
|
Learn enabled: Yes |
Quota: None |
|
Web Timetable |
Web Timetable |
Course Start Date |
16/09/2013 |
Breakdown of Learning and Teaching activities (Further Info) |
Total Hours:
100
(
Lecture Hours 22,
Seminar/Tutorial Hours 11,
Programme Level Learning and Teaching Hours 2,
Directed Learning and Independent Learning Hours
65 )
|
Additional Notes |
Please contact the School for further information
|
Breakdown of Assessment Methods (Further Info) |
Written Exam
0 %,
Coursework
100 %,
Practical Exam
0 %
|
No Exam Information |
Summary of Intended Learning Outcomes
On completion of this course students should be able to:
- Understand the key concepts of multithreaded programming.
- Have a knowledge of the syntax and semantics of the OpenMP API.
- Be able to write a correct OpenMP program in C/C++ or Fortran.
- Have a knowledge of the syntax and semantics of Java threads
- Be able to write a correct multithreaded Java program.
- Understand the key concepts of the other APIs.
- Appreciate the differences between the APIs and their relative merits.
|
Assessment Information
100% Coursework |
Special Arrangements
None |
Additional Information
Academic description |
Not entered |
Syllabus |
Not entered |
Transferable skills |
Not entered |
Reading list |
Not entered |
Study Abroad |
Not entered |
Study Pattern |
Not entered |
Keywords | TP (S1) |
Contacts
Course organiser | Dr Mark Bull
Tel: (0131 6)50 6717
Email: jbull@exseed.ed.ac.uk |
Course secretary | Yuhua Lei
Tel: (0131 6) 517067
Email: yuhua.lei@ed.ac.uk |
|
© Copyright 2013 The University of Edinburgh - 13 January 2014 4:53 am
|