Threading Building Blocks

Link/UrlTags
GCDC'08: Intel Tuning Tools can help optimizing software [Videos]
At 11:30 a.m. CET Intel's Jérôme Muffat-Méridol and Basher Khan entered the stage at GCDC'08 where they talked about the real turbo for gaming software namely Intel Software Tools for optimized gam ...

Posted: 2008-09-22 18:44:59 by Jérôme Muffat-Méridol (Intel), Sharon Greenfield (Intel)
GCDC, tools, Threading Building Blocks, gamedevelopment, software, Tuning, Vtune, intel, Network, visual computing, tuning tools
Code Demo: Destroy the Castle [Knowledgebase]
This is the binary and source of a demo we created to show how games can take advantage of multi-core processors. It's dead simple - you control a cannon facing down a terrifying, lethal... castle. ...

Posted: 2009-06-18 16:45:31 by
.net, OpenMP, Threading Building Blocks, coding, gaming, Code, games, polygonal modeling, threading, visual computing
GCDC 08: Optimizing DirectX code for multi-core platforms [Videos]
Right after his 50 minutes session at GCDC'08 talking about DirectX optimizations for multi-core platforms we had the chance to interview Intel fellow Leigh Davies. Our questions we asked him were qui ...

Posted: 2008-09-22 16:19:18 by ISN Admin, Sharon Greenfield (Intel)
GCDC, development, Threading Building Blocks, leigh davies, rendering, game development, visual computing, DirectX optimizations, multi-core platforms
Parallel for [Knowledgebase]
Parallel seismic simulation that demonstrates use of parallel_for.   SeismicSimulation.h============================================================================== Copyright 2005-2006 Intel Corp ...

Posted: 2009-03-09 15:19:25 by
Threading Building Blocks, Multi-thread apps for Multi-Core, Threaded Code examples
Parallel for -Tachyon [Knowledgebase]
Parallel raytracer / renderer that demonstrates the use of parallel_for. This example includes software developed by John E. Stone. See below for copyright information. Tachyon Ray Tracing System This ...

Posted: 2009-03-09 15:50:19 by
Threading Building Blocks, Multi-thread apps for Multi-Core, Threaded Code examples
Parallel reduce [Knowledgebase]
Parallel version of the Sieve of Eratosthenes Copyright 2005-2006 Intel Corporation. All Rights Reserved. Example program that computes number of prime numbers up to n, where n is a command line ...

Posted: 2009-03-11 16:45:28 by
Threading Building Blocks, Multi-thread apps for Multi-Core, Threaded Code examples
Parallel while [Knowledgebase]
Introduction Example that uses parallel_while to do parallel preorder traversal of a sparse graph. Each vertex in the graph is called a "cell". Each cell has a value. The value is a matrix. Some ...

Posted: 2009-03-11 15:37:43 by
Threading Building Blocks, Multi-thread apps for Multi-Core, Threaded Code examples
Pipeline [Knowledgebase]
Text filter that demonstrates class pipeline text_filter.cpp Copyright 2005-2006 Intel Corporation. All Rights Reserved.   Example program that reads a file of text and changes the first l ...

Posted: 2009-03-11 14:58:37 by
Threading Building Blocks, Multi-thread apps for Multi-Core, Threaded Code examples
Substring finder [Knowledgebase]
Introduction A simple example that uses the parallel_for template in a substring matching program. For each position in a string, the program displays the length of the largest matching substring ...

Posted: 2009-03-11 14:48:02 by
Threading Building Blocks, Multi-thread apps for Multi-Core, Threaded Code examples
Task - tree sum [Knowledgebase]
Introduction This is a simple example that sums values in a tree. The example exhibits some speedup, but not a lot, because it quickly saturates the system bus on a multiprocessor. For good speed ...

Posted: 2009-03-11 11:31:39 by
Threading Building Blocks, Multi-thread apps for Multi-Core, Threaded Code examples
TBB containers vs. STL. Functionality rift [Blogs]
I've noticed that developers who start using TBB often ask questions "Whether I should replace STL containers (protected with locks where necessary) by their TBB counterparts in my application? Are TB ...

Posted: 2008-10-13 02:28:29 by Andrey Marochko (Intel)
Threading Building Blocks, concurrent container, container, STL, TBB
TBB containers vs. STL. Performance in the multi-core age. [Blogs]
In my previous post I've tried to explain why TBB containers are so different from the STL ones, and claimed “efficiency” and “performance” considerations to be important reasons. For the star ...

Posted: 2008-10-20 02:26:31 by Andrey Marochko (Intel)
locks, Multithreading, Threading Building Blocks, STL, TBB
Introduction to Intel® Thread Checker for Linux [Videos]
Are you threading applications on Linux using C/C++? If so, consider using Intel® Thread Checker to pinpoint hard-to-find threading errors like data races and deadlocks that can cause lockups and cra ...

Posted: 2008-11-06 14:25:36 by David Mackay (Intel)
OpenMP, Threading Tools, Threading Building Blocks, Intel Tools, TBB, Intel Thread Checker, multicore
Sun + Intel + OpenSolaris + 2 Years = The Year of Core [Blogs]
Today is the second anniversary of the Sun and Intel joint agreement to optimize the Solaris operating system for Intel Xeon processors. Like last year, when I wrote this summary of our work, I decid ...

Posted: 2009-01-22 23:02:24 by David Stewart (Intel)
virtualization, power management, Threading Building Blocks, SSE, IOMMU, Intel Core Microarchitecture, ACPI, OpenSolaris, IOAT, DTrace, new instructions, NUMA, Xen, xVM, Dunnington, Fault Management Architecture, Intel Centrino2 processor, Intel Xeon processor, powertop, x2APIC, Wireless, FMA, Nehalem, Solaris, visual computing
parallel_do: A New Threading Building Blocks Component [Blogs]
The latest Threading Building Blocks development release (tbb20_20071030oss) includes an important new feature: the parallel_do component. You can read some of the discussion that led to the developme ...

Posted: 2007-11-21 13:15:38 by Kevin Farnham
Threading Building Blocks, TBB, parallel_do
Pondering Timed Mutex [Blogs]
On the Intel(R) Software Network, TBB Forum, is posted a message requesting support of timed mutex (http://software.intel.com/en-us/forums/intel-threading-building-blocks/topic/60190/). Our initial ...

Posted: 2008-09-17 14:59:55 by Wooyoung Kim (Intel)
Threading Building Blocks, timed_mutex, mutex
If you had 4 days to teach parallel programming… to high school students … [Blogs]
If you had 4 days to teach parallel programming… to high school students …  Setup Let’s say you were given an invitation to lead a summer camp for high school students – a 4 day long day ca ...

Posted: 2009-03-16 11:57:06 by Robert Chesebrough (Intel)
OpenMP, academia, Threading Building Blocks, high school programming, parallel programming in high school, clubhouse, parallel, threading
Optimizing Game Architecture with Intel Threading Building Blocks [Videos]
Brad Werth, Intel Senior Software Engineer, Spoke to game developers at GDC 2009 about how the cross-platform threading library, Intel Threading Building Blocks, can enhance the performance of your g ...

Posted: 2009-03-31 16:01:51 by Brad Werth (Intel), venkatrajaraman
Threading Building Blocks, Take Five Videos, Intel Software Network, Intel Tools, TBB, game developers conference, brad werth, gdc, intel, game development, visual computing
Optimizing Game Architectures with Intel® Threading Building Blocks [Knowledgebase]
Games are some of the most performance-demanding applications around. The scientist studying proteins or the animator working on the next photorealistic computer animated film can grudgingly wait for ...

Posted: 2009-06-09 08:27:40 by Brad Werth (Intel)
Threading Building Blocks, Multi-threading, threading, multi-core, visual computing
parallel_for is easier with lambdas, Intel Threading Building Blocks [Blogs]
Lambdas are an exciting new addition to C++ in the current draft for C++ 0x. (see my prior post for "Hello Lambda" - my introduction to Lambdas). The Intel compilers support them now in the Intel comp ...

Posted: 2009-08-03 22:34:36 by James Reinders (Intel)
C++, Threading Building Blocks, TBB, lambda expressions, multi-core, C++ 0x, lambdas
Version 2.2, Intel Threading Building Blocks, worth a look [Blogs]
If you write C or C++ code, and you haven’t given Intel Threading Building Blocks (TBB) a try, you really should. Intel Threading Building Blocks has emerged as the most popular high level programmi ...

Posted: 2009-08-04 07:11:28 by James Reinders (Intel)
Threading Building Blocks, Intel® Threading Building Blocks, Parallel Programming, multi-core, Intel Software Development Products
"Hello Lambdas" C++ 0x, a quick guide to Lambdas in C++ [Blogs]
The current draft of the new C++ 0x standard includes lambda functions. I think we can expect this to be very popular. I'll show a "Hello, World" example, and then explain the syntax very briefly. In ...

Posted: 2009-08-03 22:31:45 by James Reinders (Intel)
C++, Threading Building Blocks, TBB, C++ 0x
Parallelization And Optimization of The Line Segment Intersection Problem [Blogs]
Line Segment Intersection Problem 1. Problem Statement Write a threaded code to find pairs of input line segments that intersect within three-dimensional space. Line segments are defined ...

Posted: 2009-08-12 08:19:32 by Dmitriy Vyukov
parallelization, Threading Building Blocks, SSE, optimization, fork-join, line segment intersection
Exception handling in TBB 2.2 - Getting ready for C++0x [Blogs]
I've never finished the series of the blogs devoted to exception handling and cancellation I started last year, and now seems to be a convenient moment to do this at last. Why now? Because just releas ...

Posted: 2009-08-18 05:22:46 by Andrey Marochko (Intel)
C++0x, Multithreading, Threading Building Blocks, exception handling, TBB, exception propagation
n-bodies: a parallel TBB solution: basic simulation loop [Blogs]
Simulation technology has become quite complex in order to mimic the real world but it starts with some basic principles. Dynamic simulation using a fixed time step is a simple place to start. Last ti ...

Posted: 2009-09-11 15:11:36 by Robert Reed (Intel)
Threading Building Blocks, Parallel Programming, n-bodies
n-bodies: a parallel TBB solution: computing accelerations [Blogs]
Last time I fleshed out a very simple simulator loop that alternately computes body interactions and then applies them. I coded a version of the application part, using a loop to update the vector com ...

Posted: 2009-09-14 15:49:29 by Robert Reed (Intel)
Threading Building Blocks, Parallel Programming, n-squared algorithms, n-bodies
n-bodies: a parallel TBB solution: computing accelerations? or forces? [Blogs]
When considering the parallelization of some piece of code, my first concern is to be sure that the code I start with is optimized for serial execution. It does me little good to write a parallel vers ...

Posted: 2009-09-22 01:07:21 by Robert Reed (Intel)
Threading Building Blocks, Parallel Programming, n-bodies
n-bodies: a parallel TBB solution: realizing addAcc(i,j) [Blogs]
Having settled the question of whether I should accumulate forces or accelerations last time, now it’s time to build the accumulation function.     void     addAcc(int i, int j) { i and ...

Posted: 2009-09-25 15:42:40 by Robert Reed (Intel)
Threading Building Blocks, Parallel Programming, n-bodies
n-bodies: a parallel TBB solution: serial bodies test run [Blogs]
Let’s take the body interaction code I laid out last time, combine it with the other parts laid out previously and run it. Dropping the fleshed out program into a Microsoft Visual Studio* project, I ...

Posted: 2009-09-29 15:53:38 by Robert Reed (Intel)
Threading Building Blocks, Intel C++ Compiler, Parallel Programming, n-bodies, Microsoft Visual Studio
n-bodies: a parallel TBB solution: serial body hot spots [Blogs]
In my last venture I got the n-bodies program to compile and ran a test series with the serial algorithm, showing the n-squared nature of the basic problem. I mean to write a parallel version of this ...

Posted: 2009-10-05 15:13:29 by Robert Reed (Intel)
Threading Building Blocks, Parallel Programming, Hot Spots, Intel Parallel Amplifier, n-bodies
Parallelization of SMOKE Gaming Demo via Intel® Threading Building Blocks [Knowledgebase]
Abstract This paper describes the steps in the process of characterizing and optimizing the already parallel SMOKE Gaming Demo [1] using Intel's software suite of tools. Code characterization was don ...

Posted: 2009-11-02 16:09:37 by Andrey Marochko (Intel), Brad Werth (Intel), Anton Pegushin (Intel), Michael D'mello (Intel)
parallelism, Threading Building Blocks, TBB, software, Vtune, threading, game development, visual computing, scalability, building blocks
n-bodies: a parallel TBB solution: parallel code, a first attempt [Blogs]
It’s been a busy month preparing for SuperComputing ‘09 and booth duty (I’ll be hanging out in the Intel booth on Tuesday and Thursday and giving a talk there on Wednesday), and refining materia ...

Posted: 2009-11-13 17:44:24 by Robert Reed (Intel)
parallelism, OpenMP, Threading Building Blocks, Vectorization, supercomputing, n-bodies, lambda functions
Presentations at IDF about Software Tools, available for download [Blogs]
Today, at Intel's Developer Forum, we have taught many classes on our tools, and have a few left to go. If you could not join us in San Francisco, the presentations are available online for d ...

Posted: 2009-09-23 14:52:43 by James Reinders (Intel)
parallelism, Threading Building Blocks, TBB, multi-core