并行开发艺术(影印版) 下载 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学院,计算机科学程序委员会主席
“终于,一本专注于
前言
.
网站评分
书籍多样性:7分
书籍信息完全性:6分
网站更新速度:9分
使用便利性:9分
书籍清晰度:6分
书籍格式兼容性:4分
是否包含广告:8分
加载速度:6分
安全性:3分
稳定性:9分
搜索功能:3分
下载便捷性:6分
下载点评
- txt(66+)
- 简单(65+)
- 内容完整(401+)
- 体验差(436+)
- 品质不错(368+)
- 藏书馆(220+)
下载评价
- 网友 曾***玉:
直接选择epub/azw3/mobi就可以了,然后导入微信读书,体验百分百!!!
- 网友 曾***文:
五星好评哦
- 网友 马***偲:
好 很好 非常好 无比的好 史上最好的
- 网友 晏***媛:
够人性化!
- 网友 敖***菡:
是个好网站,很便捷
- 网友 印***文:
我很喜欢这种风格样式。
- 网友 訾***晴:
挺好的,书籍丰富
- 网友 沈***松:
挺好的,不错
- 网友 方***旋:
真的很好,里面很多小说都能搜到,但就是收费的太多了
喜欢"并行开发艺术(影印版)"的人也看了
2014高教版成人高考高升专文史财经类考生语文数学英语3本主教材+3本应试模拟套装 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
镜花缘 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
全固态调频立体声广播发射机操作·维护与测试 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
2023版 市政公用工程管理与实务 历年真题解析及预测 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
法律硕士联考历年真题分章详解及重难点视频点拨 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
白求恩在西班牙 (加拿大)罗德里克·斯图尔特,(西班牙)赫苏斯·麦哈德 著,詹玲 译 人民出版社【正版书】 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
双色球擒号绝技 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
会讲故事的庐山石刻 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
原产地营销 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
境外金融市场结构变革与交易场所竞争格局研究 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 9787111462392 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 全国初级注册安全工程师职业资格考试复习题集:安全生产实务(建筑施工安全)(2022版) 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- FORTRAN 77 结构化程序设计题解 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 2019机工版MBA、MPA、MPAcc联考与经济类联考分册套装(共4册,逻辑分册+英语分册+数学分册+写作分册) 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 中公教育江苏省公务员考试用书名师预测试卷申论行测2023年国考省考历年真题刷题模拟2024行政执法C中公考公资料23书A类B教材全套 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 紫禁城建筑 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 西游前传 辽宁人民出版社 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 建筑物电气装置国家标准汇编(第4版) 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 黑色小说 长江文艺出版社 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 显政之治 : 政务公开的理论与案例//公共事务与国家治理研究丛书 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
书籍真实打分
故事情节:7分
人物塑造:7分
主题深度:5分
文字风格:8分
语言运用:6分
文笔流畅:7分
思想传递:6分
知识深度:5分
知识广度:4分
实用性:6分
章节划分:5分
结构布局:8分
新颖与独特:7分
情感共鸣:9分
引人入胜:5分
现实相关:6分
沉浸感:6分
事实准确性:7分
文化贡献:9分