Intel Threading Building Blocks: Outfitting C++ for Multi-core Processor Parallelism

Intel Threading Building Blocks: Outfitting C++ for Multi-core Processor Parallelism

5.0 2
by James Reinders
     
 

View All Available Formats & Editions

Multi-core chips from Intel and AMD offer a dramatic boost in speed and responsiveness, and plenty of opportunities for multiprocessing on ordinary desktop computers. But they also present a challenge: More than ever, multithreading is a requirement for good performance. This guide explains how to maximize the benefits of these processors through a portable C++

Overview

Multi-core chips from Intel and AMD offer a dramatic boost in speed and responsiveness, and plenty of opportunities for multiprocessing on ordinary desktop computers. But they also present a challenge: More than ever, multithreading is a requirement for good performance. This guide explains how to maximize the benefits of these processors through a portable C++ library that works on Windows, Linux, Macintosh, and Unix systems. With it, you'll learn how to use Intel Threading Building Blocks (TBB) effectively for parallel programming -- without having to be a threading expert.
Written by James Reinders, Chief Evangelist of Intel Software Products, and based on the experience of Intel's developers and customers, this book explains the key tasks in multithreading and how to accomplish them with TBB in a portable and robust manner. With plenty of examples and full reference material, the book lays out common patterns of uses, reveals the gotchas in TBB, and gives important guidelines for choosing among alternatives in order to get the best performance.
You'll learn how Intel Threading Building Blocks:
Enables you to specify tasks instead of threads for better portability, easier programming, more understandable source code, and better performance and scalability in general
Focuses on the goal of parallelizing computationally intensive work to deliver high-level solutions
Is compatible with other threading packages, and doesn't force you to pick one package for your entire program
Emphasizes scalable, data-parallel programming, which allows program performance to increase as you add processors
Relies on generic programming, which enables you to write the best possible algorithms with the fewest constraints
Any C++ programmer who wants to write an application to run on a multi-core system will benefit from this book. TBB is also very approachable for a C programmer or a C++ programmer without much experience with templates. Best of all, you don't need experience with parallel programming or multi-core processors to use this book.

Product Details

ISBN-13:
9781449390860
Publisher:
O'Reilly Media, Incorporated
Publication date:
07/12/2007
Sold by:
Barnes & Noble
Format:
NOOK Book
Pages:
336
File size:
4 MB

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

Intel Threading Building Blocks 5 out of 5 based on 0 ratings. 2 reviews.
Guest More than 1 year ago
Perfect read for parallel programming in C or C++. Parallel programming is a topic all programmers need to study - this book is the best book on the market on this topic for any programmer looking to use multi-core processors - and I've looked at many. The introduction is brilliant, and the book is full of examples which are well explained to make learning easy.
Guest More than 1 year ago
I've been thinking about multi-core processors and how to write for concurrency - and along comes this book. It not only presents a strong case for using threading building blocks - but it offered a fantastic introduction to the overall topic of parallel programming for multi-core. The book is amazingly approachable yet detailed - well written, and is a 'must read' for C++ and C programmers.