并行开发艺术(影印版) 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
并行开发艺术(影印版)电子书下载地址
内容简介:
如果你想利用并发程序设计充分发挥多核心处理器的性能,《并行开发艺术(影印版)》就为你提供了所需要的实践知识和亲身体验。《并行开发艺术》是一份难得的材料,专注于多核心处理器的共享内存模型,而不只是理论模型或分布式内存架构。《并行开发艺术(影印版)》提供了详尽的解释和可用的示例,帮助你将算法从串行代码转化为并行代码,此外还包括建议和分析,避免程序员的典型错误。
作者为Intel资深工程师,拥有超过20年的并行和并发编程经验,《并行开发艺术(影印版)》将会帮助你:
· 探索共享内存与分布式内存编程间的区别
· 学习设计多线程程序的指导方针,包括测试和调整
· 研究如何善用不同的线程库,包括Windows线程、POSIX线程、OpenMP和Intel Threading Building Blocks
· 研究如何实现排序、查找、图形和其他实用计算的并行算法
《并行开发艺术》向你展示如何扩展算法,以从新型的多核处理器中获益。对于开发并行算法和并发编程来说,《并行开发艺术(影印版)》不可或缺。
书籍目录:
PREFACE
1 WANT TO GO FASTER? RAISE YOUR HANDS IF YOU WANT TO GO FASTER!
Some Questions You May Have
Four Steps of a Threading Methodology
Background of Parallel Algorithms
Shared-Memory Programming Versus Distributed-Memory Programming
This Book’s Approach to Concurrent Programming
2 CONCURRENT OR NOT CONCURRENT?
Design Models for Concurrent Algorithms
What’s Not Parallel
3 PROVING CORRECTNESS AND MEASURING PERFORMANCE
Verification of Parallel Algorithms
Example: The Critical Section Problem
Performance Metrics (How Am I Doing?)
Review of the Evolution for Supporting Parallelism in Hardware
4 EIGHT SIMPLE RULES FOR DESIGNING MULTITHREADED APPLICATIONS
Rule 1: Identify Truly Independent Computations
Rule 2: Implement Concurrency at the Highest Level Possible
Rule 3: Plan Early for Scalability to Take Advantage of Increasing Numbers of Cores
Rule 4: Make Use of Thread-Safe Libraries Wherever Possible
Rule 5: Use the Right Threading Model
Rule 6: Never Assume a Particular Order of Execution
Rule 7: Use Thread-Local Storage Whenever Possible or Associate Locks to Specific Data
Rule 8: Dare to Change the Algorithm for a Better Chance of Concurrency
Summary
5 THREADING LIBRARIES
Implicit Threading
Explicit Threading
What Else Is Out There?
Domain-Specific Libraries
6 PARALLEL SUM AND PREFIX SCAN
Parallel Sum
Prefix Scan
Selection
A Final Thought
7 MAPREDUCE
Map As a Concurrent Operation
Reduce As a Concurrent Operation
Applying MapReduce
MapReduce As Generic Concurrency
8 SORTING
Bubblesort
Odd-Even Transposition Sort
Shellsort
Quicksort
Radix Sort
9 SEARCHING
Unsorted Sequence
Binary Search
10 GRAPH ALGORITHMS
Depth-First Search
All-Pairs Shortest Path
Minimum Spanning Tree
11 THREADING TOOLS
Debuggers
Performance Tools
Anything Else Out There?
Go Forth and Conquer
GLOSSARY
PHOTO CREDITS
INDEX
作者介绍:
Clay Breshears博士,是Intel公司的课程架构师,专攻多核心及多线程程序设计与培训。
出版社信息:
暂无出版社相关信息,正在全力查找中!
书籍摘录:
Two types of dependencies can occur between tasks. The first is order dependency, where sometask relies on the completed results of the computations from another task. This reliance canbe a direct need to use the computed values as input to the succeeding task, or it may simplybe the case that the task that follows will be updating the same memory locations as theprevious task and you must ensure that all of the previous updates have been completed beforeproceeding. Both of these cases describe a potential data race, which we need to avoid.For example, if you are building a house, putting up the roof involves attaching the rafters tothe walls, laying down the decking, and applying the shingles. The dependence between thesethree tasks is one of execution order. You can't put down shingles until the decking is there,and you can't nail down the decking unless you have the rafters in place. So, instead of hiringthree teams to do these three tasks in parallel, you can hire one roofing crew to do all three inthe order required (there is parallelism within each of the roofing steps, plus the act of puttingon the roof is independent of installing the electrical wiring, the plumbing, and putting updrywall).
To satisfy an execution order constraint, you can schedule tasks that have an order dependencyonto the same thread and ensure that the thread executes the tasks in the proper sequence.The serial code was written with the order dependency already taken care of. So, the serialalgorithm should guide the correct decomposition of the computations into tasks andassignment of those tasks to threads. Still, even after grouping tasks to execute on threads,there may be order constraints between threads. If regrouping tasks to threads is not an optionor will severely hurt performance, you will be forced to insert some form of synchronizationto ensure correct execution order.
The second type of dependency is data dependency. Identifying potential data dependenciescan be straightforward: look for those variables that are featured on the left side of theassignment operator. Data races require that the variable in question have at least one threadthat is writing to that variable. Check for any assignment of values to the same variable thatmight be done concurrently as well as any updates to a variable that could be read concurrently.Of course, using pointers to reference memory locations can make the identification processtrickier. There are tools (covered in Chapter 11) that can assist in finding nonobvious datadependencies in your code.
在线阅读/听书/购买/PDF下载地址:
原文赏析:
暂无原文赏析,正在全力查找中!
其它内容:
编辑推荐
《并行开发艺术(影印版)》是由东南大学出版社出版的。
媒体评论
“这本书紧扣题目,令人赏心悦目。艺术无法传授,但追随大师的脚印便可觅得踪迹。作者在超级计算机公司工作30余年,而后又在学术界浸淫10年,我可以毫无疑问地说,本书实至名归。”
──Tom Murphy,Contra Costa学院,计算机科学程序委员会主席
“终于,一本专注于
前言
.
网站评分
书籍多样性:9分
书籍信息完全性:7分
网站更新速度:6分
使用便利性:6分
书籍清晰度:8分
书籍格式兼容性:4分
是否包含广告:9分
加载速度:8分
安全性:6分
稳定性:9分
搜索功能:5分
下载便捷性:6分
下载点评
- 无颠倒(463+)
- 值得下载(299+)
- 无漏页(560+)
- 还行吧(337+)
- 经典(634+)
- 图文清晰(273+)
- 超值(138+)
- 内涵好书(344+)
- 一般般(336+)
- 不亏(393+)
- 差评(177+)
- 方便(272+)
- 体验满分(150+)
下载评价
- 网友 芮***枫: ( 2024-12-26 05:31:59 )
有点意思的网站,赞一个真心好好好 哈哈
- 网友 常***翠: ( 2025-01-12 04:48:05 )
哈哈哈哈哈哈
- 网友 师***怀: ( 2025-01-15 11:12:03 )
好是好,要是能免费下就好了
- 网友 蓬***之: ( 2025-01-12 18:54:45 )
好棒good
- 网友 堵***格: ( 2024-12-25 09:02:52 )
OK,还可以
- 网友 陈***秋: ( 2024-12-30 17:05:05 )
不错,图文清晰,无错版,可以入手。
- 网友 曹***雯: ( 2025-01-10 23:02:54 )
为什么许多书都找不到?
- 网友 康***溪: ( 2025-01-01 18:38:16 )
强烈推荐!!!
- 网友 邱***洋: ( 2025-01-08 18:48:45 )
不错,支持的格式很多
- 网友 养***秋: ( 2025-01-04 20:08:12 )
我是新来的考古学家
- 网友 谢***灵: ( 2024-12-28 23:42:13 )
推荐,啥格式都有
- 网友 林***艳: ( 2025-01-12 11:53:12 )
很好,能找到很多平常找不到的书。
- 网友 后***之: ( 2025-01-09 23:33:48 )
强烈推荐!无论下载速度还是书籍内容都没话说 真的很良心!
- 正版中级会计实务高志谦书店经济人民出版社书籍 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 舞蹈解剖学 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 爱你是心底开出的花:徐志摩传 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 【坎特维尔幽灵】The Canterville Ghost(2级适合初二初三 )书虫系列牛津英汉双语对照读物 外研社中英文对照课外读物 世界名著 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 四大名著连环画全套4册正版一二年级小学生漫画版彩图注音阅读课外漫画书绘本西游记儿童版三国演义水浒传红楼梦幼儿带拼音小人书 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- Teatro D'Italia 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 新花雨061:拗到好老婆 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 空调系统BIM集成化工程设计方法(附光盘) 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 法律论辩训练 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 9988王勇雅思听力真题答案词汇 机考笔试冲刺版 王勇 大连理工大学出版社 【新华书店正版图书书籍】 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
书籍真实打分
故事情节:4分
人物塑造:3分
主题深度:9分
文字风格:6分
语言运用:9分
文笔流畅:7分
思想传递:9分
知识深度:9分
知识广度:3分
实用性:4分
章节划分:4分
结构布局:4分
新颖与独特:8分
情感共鸣:5分
引人入胜:7分
现实相关:3分
沉浸感:6分
事实准确性:8分
文化贡献:4分