图书介绍
并行开发艺术PDF|Epub|txt|kindle电子书版本网盘下载
- ClayBreshears著 著
- 出版社: 南京:东南大学出版社
- ISBN:9787564119294
- 出版时间:2010
- 标注页数:285页
- 文件大小:32MB
- 文件页数:302页
- 主题词:软件开发-英文
PDF下载
下载说明
并行开发艺术PDF格式电子书版下载
下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!
(文件页数 要大于 标注页数,上中下等多册电子书除外)
注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具
图书目录
1 WANT TO GO FASTER?RAISE YOUR HANDS IF YOU WANT TO GO FASTER!1
Some Questions You May Have2
Four Steps of a Threading Methodology7
Background of Parallel Algorithms12
Shared-Memory Programming Versus Distributed-Memory Programming15
This Book's Approach to Concurrent Programming19
2 CONCURRENT OR NOT CONCURRENT?21
Design Models for Concurrent Algorithms22
What's Not Parallel42
3 PROVING CORRECTNESS AND MEASURING PERFORMANCE49
Verification of Parallel Algorithms50
Example:The Critical Section Problem53
Performance Metrics(How Am I Doing?)66
Review of the Evolution for Supporting Parallelism in Hardware71
4 EIGHT SIMPLE RULES FOR DESIGNING MULTITHREADED APPLICATIONS73
Rule 1:Identify Truly Independent Computations74
Rule 2:Implement Concurrency at the Highest Level Possible74
Rule 3:Plan Early for Scalability to Take Advantage of Increasing Numbers of Cores75
Rule 4:Make Use of Thread-Safe Libraries Wherever Possible76
Rule 5:Use the Right Threading Model77
Rule 6:Never Assume a Particular Order of Execution77
Rule 7:Use Thread-Local Storage Whenever Possible or Associate Locks to Specific Data78
Rule 8:Dare to Change the Algorithm for a Better Chance of Concurrency79
Summary80
5 THREADING LIBRARIES81
Implicit Threading82
Explicit Threading88
What Else Is Out There?92
Domain-Specific Libraries92
6 PARALLEL SUM AND PREFIX SCAN95
Parallel Sum96
Prefix Scan103
Selection112
A Final Thought123
7 MAPREDUCE125
Map As a Concurrent Operation127
Reduce As a Concurrent Operation129
Applying MapReduce138
MapReduce As Generic Concurrency143
8 SORTING145
Bubblesort146
Odd-Euen Transposition Sort153
Shellsort162
Quicksort169
Radix Sort182
9 SEARCHING201
Unsorted Sequence202
Binary Search210
10 GRAPH ALGORITHMS221
Depth-First Search224
All-Pairs Shortest Path240
Minimum Spanning Tree245
11 THREADING TOOLS257
Debuggers258
Performance Tools260
Anything Else Out There?262
Go Forth and Conquer263
GLOSSARY265
PHOTO CREDITS275
INDEX277