1 / 22

第十一章 平行演算法序論

第十一章 平行演算法序論. 11.1 平行演算法序論 11.1.1 控制機制 11.1.2 位址─空間的組織 11.1.3 連接網路 11.2 PRAM 模型 11.2.1 設計基於 CREW PRAM 模型       的演算法 11.2.2 設計基於 CRCW PRAM 模型       的演算法. 11.1 平行處理架構. 11.1.1 控制機制. 11.1.2 位址─空間的組織. 共享空間架構. 訊息傳遞架構. 11.1.3 連接網路. 靜態連接網路,又稱直接網路. 動態連接網路. 11.2 PRAM 模型. 可分四種

belva
Download Presentation

第十一章 平行演算法序論

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. 第十一章 平行演算法序論 • 11.1平行演算法序論 11.1.1控制機制 11.1.2位址─空間的組織 11.1.3連接網路 • 11.2 PRAM模型 11.2.1設計基於CREW PRAM模型       的演算法 11.2.2設計基於CRCW PRAM模型       的演算法

  2. 11.1平行處理架構

  3. 11.1.1控制機制

  4. 11.1.2位址─空間的組織 • 共享空間架構

  5. 訊息傳遞架構

  6. 11.1.3連接網路 • 靜態連接網路,又稱直接網路

  7. 動態連接網路

  8. 11.2 PRAM模型 • 可分四種 1.獨占讀取,獨占寫入(EREW) 2.獨占讀取,同時寫入(ERCW) 3.同時讀取,獨占寫入(CREW) 4.同時讀取,同時寫入(CRCW)

  9. 11.2.1設計基於CREW PRAM模型的演算法 • 在陣列中找到最大的key EX:演算法8.2

  10. 演算法11.1平行的找出最大key

  11. 演算法11.2平行地計算二項式係數

  12. 演算法11.3合併排序平行版

  13. 分析演算法11.3最差情況時間複雜度 • 基本運算:發生在parmerge的比較 • 輸入大小:n,陣列中的key的數量

  14. 11.2.2設計基於CRCW PRAM模型的演算法 最常用來解決這種衝突的協定 • 共同(common) • 任意(arbitrary) • 優先權(priority) • 總和(sum)

  15. 演算法11.4平行CREW找到最大key

  16. 圖11.11

More Related