文件名称:
An Introduction to Parallel Programming
开发工具:
文件大小: 3mb
下载次数: 0
上传时间: 2019-03-04
详细说明:完美pdf
Key Features:
1. Takes a tutorial approach, starting with small programming examples and building progressively to more challenging examples
2. Focuses on designing, debugging and evaluating the performance of distributed and shared-memory programs
3. Explains how to develop parallel programs using MPI, Pthreads, and OpenMP programming modelsRecommended reading list
or students interested in furthering their understanding of parallel programming, the
content in the following books supplements this textbook
Programming Massively Parallel Processors
a Hands-on approach
By david b. Kirk and Wen-mei W. hwu
SBN:9780123814722
The Art of Multiprocessor Programming
By Maurice herlihy and Nir shavit
SBN:9780123705914
Parallel Programming with MPl
By peter pacheco
SBN:9781558603394
The Sourcebook of Parallel Computing
Edited by Jack Dongarra et al
SBN:9781558608719
Parallel computer Architecture
A Hardware/Software Approach
By David Culler, J. P. Singh and Anoop Gupta
SBN:9781558603431
Engineering a compiler, second edition
By Keith D. Cooper and Linda torczon
SBN:9780120884780
M<
Hia
mkp.com
An introduction to
Parallel programming
This page intentionally left blank
An introduction to
Parallel Programming
Peter s. pacheco
University of San francisco
AMSTERDAM● BOSTON● HEIDELBERO● LONDON
NEW YORK OXFORD● PARIS● SAN DIEGO
SAN FRANCISCO● SINGAPORE● SYDNEY● TOKYO
M<
ELSEVIER
Morgan Kaufmann Publishers is an imprint of elsevier
Acquiring Editor: Todd Green
Development Editor: Nate McFadden
Project Manager: Marilyn E Rash
Designer joanne blank
Morgan Kaufmann Publishers is an imprint of elsevier
30 Corporate Drive, Suite 400
Burlington. MA 01803 USA
Copyright 2011 Elsevier Inc. All rights reserved
No part of this publication may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying, recording, or any information storage and retrieval system, without
permission in writing from the publisher. Details on how to seek permission, further information about the
Publishers permissions policies and our arrangements with organizations such as the Copyright Clearance
CenterandtheCopyrightLicensingAgencycanbefoundatourwebsitewww.elsevier:com/permissions.
This book and the individual contributions contained in it are protected under copyright by the Publisher(other
than as may be noted herein)
Notices
Know ledge and best practice in this field are constantly changing. As new research and experience broaden our
understanding, changes in research methods, professional practices, or medical treatment may become
cessar
Practitioners and researchers must always rely on their own experience and knowledge in evaluating and using
they should be mindful of their own safety and the safety of others, including parties for whom they have a p
any information, methods, compounds, or experiments described herein. In using such information or metho
professional responsibility
To the fullest extent of the law, neither the Publisher nor the authors, contributors, or editors, assume any
liability for any injury and/or damage to persons or property as a matter of products liability, negligence or
otherwise, or from any use or operation of any methods, products, instructions, or ideas contained in the
material he
Library of Congress Cataloging-in-Publication Data
An introduction to parallel programming/Peter S. Pacheco
ISBN978-0-12-374260-5( hardback)
1. Parallel programming( Computer science)I. Title
A76.642P292011
0052′75-dc2
British Library Cataloguing-in-Publication Data
A catalogue record for this book is available from the British Library
For information on all Morgan Kaufmann publications
visitourwebsiteatwww.mkp.comorwww.elsevierdirect.com
Printed in the United state
l11213141510987654321
Worki
ing together to grow
libraries in developing countries
www.elsevier.comwww.bookaid.orgiwww.sabre.org
ELSEVIER Internationa Sabre Foundation
To the memory of Josephine F. pacheco
This page intentionally left blank
Contents
Preface
XV
Acknowledgments
about the uthor
CHAPTER
Why Parallel computing?
1.1 Why We Need Ever-Increasing Performance
1. 2 Why Were Building Parallel Systems
1. 3 Why We Need to Write Parallel Program
1.4 How Do We Write Parallel Programs s
2336
1.5 What We'll Be Doing.......
1.6 Concurrent Parallel Distributed
9
1.7 The Rest of the book
10
1.8 A Word of warning
1. 9 Typographical Conventions...........
1.10 Summary......
12
1.11 Exercises∴
12
chAPTER 2 Parallel hardware and Parallel Software
5
2. 1 Some Background
15
2.1.1 The von Neumann architecture
15
2. 1. 2 Processes, multitasking, and threads
17
2.2 Modifications to the von Neumann model
18
2. 2. 1 The basics of caching
2.2.2 Cache mappings......
20
2.2.3 Caches and programs: an example
22
2.2.4Ⅴ irtual memory.
2.2.5 Instruction-level parallelism
.25
2.2.6 Hardware multithreading
28
2.3 Parallel hardware
29
2.3.1 SIMD syStems
29
2.3.2 MIMD syStems
32
2.3.3 Interconnection networks
35
2. 3.4 Cache coherence
2.3.5 Shared-memory versus distributed-memory
46
2.4 Parallel Software
2.4.1Ca
47
2.4.2 Coordinating the processes/threads
2.4.3 Shared-memory
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.