Parallel Programming in Native Code

Parallel programming using C++ AMP, PPL and Agents libraries.

Browse by Tags

Tagged Content List
  • Blog Post: How to put a PPLTasks continuation chain into a loop

    Background The way to express sequential logic in asynchronous programming with PPLTasks is task continuation chain; however, there is no easy way to construct a loop of continuations with tasks. In many scenarios, an asynchronous loop can be useful; for example, suppose you want to download a file...
  • Blog Post: Check out Hilo for Windows 8!

    I’m working with the patterns & practices team on a Metro style app with C++ and XAML called Hilo. Hilo is a basic photo viewing and tagging app that totally re-imagines Hilo for Windows 7 by embracing new form factors and experiences that Windows 8 enables. One of the more exciting aspects...
  • Blog Post: PPL Asynchronous Sample Pack Updated

    Visual Studio 11 Beta has been a great source of customer feedback for us on the PPL team. If you’re a PPL user, thanks for staying in touch! We welcome all constructive feedback and your input helps us build a product that’s relevant to you. A lot has happened with PPL since the last...
  • Blog Post: PPL and JavaScript: Bing Maps Trip Optimizer for Windows 8 Now Available on MSDN Developer Samples!

    One of the things I like best about creating Windows 8 Metro style apps is that you can more easily combine the best of C++, JavaScript, and .NET languages into one app. For example, you can use JavaScript and HTML or XAML to define your UI and C++ to perform the computationally intensive parts. Another...
  • Blog Post: Documentation updates for the PPL (Visual Studio 11 Beta) and Welcome Back to C++

    If you follow this blog, I don’t have to remind you that C++ is king when it comes to flexibility, scalability, and performance. If you also follow the evolution of C++, namely C++ 11, you’re also familiar with new language features such as lambda expressions, rvalue references, and auto initializers...
  • Blog Post: PPL and ConcRT: What’s new in Visual Studio 11 Beta

    In this product cycle release, our goal was to focus on providing comprehensive expressions for parallel patterns in C++. This Beta release allows you to start taking advantage of the libraries and go-live with your products using these features. In Visual Studio 2010, we saw the introduction of...
  • Blog Post: Perils Of Lambda Capture

    One issue that consistently trips people up when they start using lambdas in asynchronous programming (particularly, using PPL), is the lifetime of the variables captured in the lambda expressions. More than once, I’ve fallen into this trap myself, lamenting my carelessness and the lack of a helpful...
  • Blog Post: Try It Now: Use PPL to Produce Windows 8 Asynchronous Operations

    If you’ve seen any of the Windows Runtime talks from //build/ (like this one), one of the things you’ll discover is that asynchronous APIs are pervasive throughout it. Operations which can potentially be long running – particularly things like I/O – are often exposed solely through...
  • Blog Post: Case Study: Massachusetts General Hospital uses PPL for 3-d image-processing

    We are excited to share a detailed case study involving the use of Parallel Patterns Library ! To make colon cancer screening more broadly accessible, Massachusetts General Hospital (MGH) sought to reduce the time required to electronically cleanse and view a three-dimensional (3-D) model of the...
  • Blog Post: Windows 8 Asynchrony with PPL

    Living with Latency Our customers demand more speed and responsiveness from applications. At the same time, as the applications are becoming more and more connected, we are increasingly confronted with the latency inherent in I/O devices. A thread performing a blocking I/O operation effectively...
  • Blog Post: Announcing the PPL, Agents and ConcRT efforts for V.next

    I am super-excited to have been part of multiple announcements that Microsoft made at the AMD Fusion 11 conference held in Bellevue WA this week. First, Herb Sutter announced C++ AMP yesterday morning and AMD Fusion11, which will be an extension of C++ that we are planning to include in our next VC...
  • Blog Post: Bing Maps Trip Optimizer Now Available on MSDN Developer Samples!

    I want to invite you to check out a developer sample that I wrote called Bing Maps Trip Optimizer . Bing Maps Trip Optimizer is a C++ ActiveX control that uses the ant colony optimization algorithm to solve the traveling salesman problem . It is driven by an HTML/JavaScript front-end that collects locations...
  • Blog Post: The Concurrency Runtime and Visual C++ 2010: Transporting Exceptions between Threads

    Last time, we looked at how to use the rvalue references in Visual C++ 2010 to help you improve the performance of applications that use the Concurrency Runtime (see The Concurrency Runtime and Visual C++ 2010: Rvalue References ). This week we’ll examine how to deal with exceptions that are thrown by...
  • Blog Post: The Concurrency Runtime and Visual C++ 2010: Lambda Expressions

    As a C++ programmer, you might have already started working with the Concurrency Runtime components in Visual Studio 2010 such as the Parallel Patterns Library (PPL) and the Asynchronous Agents Library . These libraries make it much easier to write parallel code that takes advantage of multi-core. I...
  • Blog Post: What’s new in Beta 2 for the Concurrency Runtime, Parallel Pattern Library and Asynchronous Agents Library

    Last week Visual Studio 2010 Beta was released for download . Since Beta1, the team has been pretty busy adding enhanced functionality to make you more productive at expressing parallelism in your applications and improving the quality and performance of our runtime and programming models. Here’s a guide...
  • Blog Post: Synchronization with the Concurrency Runtime - Part 3

    In my previous posts, I addressed the motivation behind using concurrency runtime’s synchronization primitives and also introduced Critical Section and reader writer lock. In this blog, I will cover concurrency runtime’s event. Event This is a bi-state type class which, unlike Critical Section...
  • Blog Post: Samples posted for the Parallel Pattern Library and Concurrency Runtime

    Following the release of Visual Studio 2010, we've just published a set of sample applications for using the Parallel Pattern Library, the Agents Library and the Concurrency Runtime on code gallery. These supplement the documentation and samples provided on msdn for Beta1. The samples include using...
  • Blog Post: What's new in the Concurrency Runtime and the Parallel Patterns and Asynchronous Agents Libraries

    Visual Studio 2010 Beta1 has been released, and it is a full install version . The team has been busy, busy busy since the CTP release last fall to deliver most of the APIs and objects we’ve blogged about here into Beta1. So I wanted to take a moment to summarize what’s new in the Beta for the Parallel...
  • Blog Post: Synchronization with the Concurrency Runtime - Part 2

    In my previous post, I addressed the motivation behind using concurrency runtime’s synchronization primitives and also introduced Critical Section. In this blog, I will cover concurrency runtime’s reader writer lock. Reader Writer Lock This class enables multiple threads to read from a shared resource...
  • Blog Post: Synchronization with the Concurrency Runtime - Part 1

    In a concurrent world multiple entities work together to achieve a common goal. A common way to interact and coordinate is to use shared data. However, shared data must be accessed carefully. This can be achieved through synchronization, primarily using: i) Blocking methods such as locks and mutexes...
  • Blog Post: On Channel9: a chat with members from the Visual C++ and Concurrency Runtime teams

    Last week, Don McCrady, Damien Watkins from the C++ team and I sat down with Charles from Channel9 and chatted about the Concurrency Runtime, new C++ work in Visual Studio 2010 and how our teams are working together. As Charles pointed out, we also touched briefly upon new features in the C++0x...
  • Blog Post: Getting the Visual Studio 2010 CTP to use more than one hardware thread: using Hyper-V and other options

    Last week, we blogged about the Visual Studio 2010 CTP which includes the Concurrency Runtime, the Parallel Pattern Library and the Asynchronous Agents Library which is available as a Virtual PC image. As the Parallel Extensions to .NET team blogged yesterday, this is unfortunate because VPC images only...
  • Blog Post: Visual Studio 2010 CTP available: Including the Concurrency Runtime, Parallel Pattern Library and Asynchronous Agents Library!

    In his blog post on Monday, Soma mentioned some of the great things happening at PDC 2008 and also announced the Visual Studio 2010 CTP. We’re very excited to announce that this CTP includes the Concurrency Runtime, the Parallel Pattern and Asynchronous Agents Libraries for C++ developers that we’ve...
  • Blog Post: Concurrency Runtime on Channel 9

    A few weeks ago several of us from the Parallel Computing Platform sat down with Charles Torre from Channel 9 to discuss the Concurrency Runtime that we've blogged about here. We talk about the motivation of the Concurrency Runtime, how its scheduler and resource manager interact and discuss the C++...
  • Blog Post: Avoiding Contention using Combinable Objects

    When attempting to parallelize an algorithm, programmers are frequently thwarted by the presence of shared state . Any state that can potentially be modified by multiple threads simultaneously during a parallel operation must be synchronized somehow to prevent race conditions, data corruption, and all...
Page 1 of 1 (25 items)