Most Recent Build Posts RSS

Stop Threads from Clashing Over Variables in OpenMP

OpenMP lets you allocate blocks of code that will be duplicated across threads. These can be in the form of loops or just simple blocks. To help you with your data, variables can be duplicated within each thread. Jeff Cogswell shows you how. Last time we explored a bit of …

Read Full Post Posted in Build | Leave a comment

Taking OpenMP Out for a Spin

OpenMP provides a way to write parallel code using pragmas embedded in your C++ code. Jeff Cogswell tries out a simple pragma that results in spawning multiple, identical parallel threads. In my last blog, I briefly introduced OpenMP, which is a technology whereby you can write parallel code in ways …

Read Full Post Posted in Build | Leave a comment

Determine Processor SIMD Features at Runtime

The Intel compiler can generate code that behaves differently for different processors. Sometimes you might want to manually check the processor features. Or you might just want to know how the generated code does it. In this video, Jeff Cogswell shows you how to use the CPUID assembly instruction to …

Read Full Post Posted in Build | Leave a comment

Timing Matters in Threading Building Blocks

When you want to time how long a set of parallel tasks takes to complete, you want to use the actual time, not the CPU time. And you want the time-measuring mechanism to be thread-safe. Jeff Cogswell shows you how to use the timing classes in Threading Building Blocks to …

Read Full Post Posted in Build | Leave a comment

Configuring Microsoft Visual Studio for OpenMP

  In this video, Jeff Cogswell shows you how to configure a project in Microsoft’s Visual Studio using Parallel Studio and OpenMP. He then takes you through a quick OpenMP program, demonstrating the pragmas  

Read Full Post Posted in Build | Leave a comment

OpenMP: Parallel Programming Alternative

Although we’ve spent a lot of time here at Go Parallel on Cilk Plus, there’s another technology you can use with Parallel Studio called OpenMP. Jeff Cogswell gives you an overview. Here at Go Parallel, we’ve spent a lot of time talking about Cilk Plus, which is a set of …

Read Full Post Posted in Build | Leave a comment

Get More Out of OpenCL Cross-Device Portability

Open Computing Language (OpenCL) is a royalty-free standard for cross-platform parallel programming that supports heterogeneous platforms with various types of devices including general-purpose CPUs, graphics processors, and coprocessors.  OpenCL attracts developers because, in addition to its broad support by hardware vendors, the language brings the promise of cross-device portability. For …

Read Full Post Posted in Build | Leave a comment

Use New MPI-3 Standard to Master Performance Challenges

The latest MPI-3 standard, which is a widely used programming interface for distributed memory systems, contains new major features such as non-blocking and neighbor collective operations, extensions to the Remote Memory Access (RMA) interface, large count support, and new tool interfaces. Each of these new features may contribute to performance …

Read Full Post Posted in Build | Leave a comment

MPI Standard Gets Common Application Binary Interface

There are few interfaces that can compete with Message Passing Interface (MPI) on the critical performance required for high-performance computing (HPC)–which has made it the de facto industry standard for distributed memory computing. The latest major version of the 20-year-old standard–MPI-3–adds fast one-sided communication, non-blocking collective operations, and several other …

Read Full Post Posted in Build | Leave a comment

Build Robust Parallel Apps with New TBB Features

Even though the Intel Threading Building Blocks (TBB) library is a mature technology, the company continues to improve TBB’s performance and expands its capabilities. Here is a look at some recent features that can help developers build robust parallel applications, including the flow graph interface, speculative locks that take advantage …

Read Full Post Posted in Build | Leave a comment