1 / 17

Parallel processing (361-1-3621) lecturer: Dr. Guy Tel- Zur

Parallel processing (361-1-3621) lecturer: Dr. Guy Tel- Zur. Submitted by: Adi Hbursi 066140518 Israel Karity 021537543. UPC. מה זה UPC ?. UNIFIED PARALLEL C Extention of ANSI/ISO C 99

laban
Download Presentation

Parallel processing (361-1-3621) lecturer: Dr. Guy Tel- Zur

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Parallel processing(361-1-3621)lecturer: Dr. Guy Tel-Zur Submitted by: AdiHbursi 066140518 Israel Karity 021537543 UPC

  2. מה זה UPC ? • UNIFIED PARALLEL C • Extention of ANSI/ISO C 99 • Requires a designated compiler. Most common berkely UPC and gcc/upc. But also IBM, HP, Cray, etc. • Descendant of split-c and parallel-c preprocessor • PGAS – Partitioned Global Adress Space • SPMD – Single Program Multiple Data

  3. Different programming models

  4. Memory division Pointers Private-pointer: can reference addresses in private space or related portion of shared memory Pointer-to-shared: can reference all of shared memory

  5. PGAS MODELPartitioned Global Memory Shared Mode of operation concurrent threads with a partitioned shared space - A partition can reference data in another partition - Global arrays have fragments in multiple Partitions - MYTHREAD specifies the thread index (0..THREADS-1)

  6. Advantages and disadvantages Advantages : - Helps in exploiting locality (- Simple statements (as in shared memory Disadvantages : - Problem with synchronization (solved with locks) - Sharing all memory can result in bugs

  7. Example of code

  8. Study conducted by Tarek El-Ghazawi from The :George Washington University

  9. Bibliography: • 1. http://upc.gwu.edu • 2. http://en.wikipedia.org/wiki/Unified_Parallel_C • 3.“Unified Parallel C Tutorial at PGAS09” Tarek El-Ghazawi, The George • Washington University

More Related