Sign In
Parallel Programming in Native Code
Parallel programming using C++ AMP, PPL and Agents libraries.
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Links
START HERE
Ask questions at our MSDN Forum
C++ AMP samples
C++ AMP in a nutshell
C++ AMP open specification
The Moth (Parallel Computing category)
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Archive
Archives
February 2012
(6)
January 2012
(15)
December 2011
(18)
November 2011
(12)
October 2011
(3)
September 2011
(11)
June 2011
(2)
May 2011
(1)
March 2011
(5)
February 2011
(2)
January 2011
(2)
November 2010
(1)
July 2010
(1)
April 2010
(4)
March 2010
(3)
February 2010
(2)
January 2010
(2)
December 2009
(1)
November 2009
(6)
October 2009
(1)
July 2009
(2)
June 2009
(3)
May 2009
(5)
April 2009
(1)
March 2009
(1)
February 2009
(2)
January 2009
(2)
November 2008
(1)
October 2008
(2)
September 2008
(1)
July 2008
(1)
June 2008
(1)
MSDN Blogs
>
Parallel Programming in Native Code
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Parallel Programming in Native Code
runtime_exception of C++ AMP
Posted
13 hours ago
by
Pavan Kumar MJ
0
Comments
This blog post assumes you have read the introduction to C++ AMP exceptions . The runtime_exception is the base class of the all other C++ AMP exceptions. Hence this exception can be treated as the exception to be caught by default. The table below...
Parallel Programming in Native Code
Math Library for C++ AMP
Posted
2 days ago
by
DanielMoth
0
Comments
Visual C++ developers in need of math functions know to go <cmath> . In this blog post I’ll describe the equivalent in C++ AMP. <amp_math.h> With C++ AMP, if you want to use a math function in your restrict(amp) functions, you need to bring...
Parallel Programming in Native Code
Double precision support in C++ AMP
Posted
2 days ago
by
DanielMoth
0
Comments
C++ AMP supports various data types for usage in the restrict(amp) functions that you schedule on the accelerator. One of those types is double . There are caveats and extra information that you need to know with regards to double precision and this post...
Parallel Programming in Native Code
C++ AMP open spec published
Posted
6 days ago
by
DanielMoth
8
Comments
We announced C++ AMP in June 2011, shared the first bits in September 2011 as part of Visual Studio 11 Developer Preview, and you'll get fresh bits in the upcoming Visual Studio 11 Beta. Start with any of the links on the right to learn more about how...
Parallel Programming in Native Code
Default accelerator in C++ AMP
Posted
7 days ago
by
DanielMoth
0
Comments
I have blogged previously about the accelerator and accelerator_view classes in C++ AMP and in this post I want to focus on some specific aspects of its usage. The notion of default You can write a lot of useful C++ AMP code without ever needing...
Parallel Programming in Native Code
C++ AMP Runtime Exceptions
Posted
8 days ago
by
Pavan Kumar MJ
0
Comments
When you author restrict (amp) kernels (the lambda you pass to parallel_for_each ), as with any other code, there are various things that can go wrong. In restrict (amp) code there is no exception handling , but the C++ AMP runtime can throw exceptions...
Parallel Programming in Native Code
C++ AMP sample projects for download
Posted
10 days ago
by
DanielMoth
0
Comments
For some developers, reading code (that fully compiles in a Visual Studio project) is a much better way to learn an API than reading documentation about an API. If that describes you, then you'll be happy to know that in between our blog posts explaining...
Parallel Programming in Native Code
Perils Of Lambda Capture
Posted
11 days ago
by
Artur Laksberg
0
Comments
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...
Parallel Programming in Native Code
concurrency::graphics in C++ AMP
Posted
15 days ago
by
Zhu, Weirong
1
Comments
Hi there, in this blog post, I’m going to briefly introduce a new C++ AMP feature area coming in the next drop of Visual Studio 11. In short, a new namespace - concurrency::graphics - is introduced to help you author data parallel algorithms...
Parallel Programming in Native Code
Simplifying single-dimensional C++ AMP Code
Posted
16 days ago
by
Daniel Griffing
4
Comments
Hello! My name is Daniel Griffing and I’m a test engineer on the C++ AMP team. C++ AMP provides a great set of capabilities that scale well for N-Rank (dimensional) data by providing data types to encapsulate the shape ( concurrency::extent ...
Parallel Programming in Native Code
grid class replacement
Posted
21 days ago
by
TamerAfify
2
Comments
Hello, my name is Tamer Afify, and I’m a test engineer on the C++ AMP team. In this blog post, I will share a change in the C++ AMP API that you will observe with the VS 11 Beta (and beyond). In the Visual Studio 11 Developer Preview, C++ AMP had...
Parallel Programming in Native Code
Histogram using C++ AMP
Posted
23 days ago
by
BharathM
0
Comments
In statistics, Histogram helps understand distribution of data or help gauge density of certain data. This is mainly used in data mining applications and image processing. In this blog post I am sharing a C++ AMP sample of a histogram implementation ported...
Parallel Programming in Native Code
C++ AMP: It's got character, but no char!
Posted
23 days ago
by
SteveDeitz
3
Comments
In C++ AMP, the type char is part of the subset of the C++ language restricted from use on accelerators . Fortunately, it’s relatively easy to work around this restriction, and you may even get better performance to boot (though this is dependent...
Parallel Programming in Native Code
Using Constant Memory in C++ AMP
Posted
29 days ago
by
Zhu, Weirong
0
Comments
In this blog post, I’m going to explain how you can make use of a GPU’s constant memory with C++ AMP. I will first introduce what constant memory is and how it is accessible in C++ AMP. I will then share some implementation details and usage...
Parallel Programming in Native Code
restrict(amp) restrictions part 10 of N – tile_static
Posted
29 days ago
by
LingliZhang
0
Comments
This post assumes and requires that you have read the introductory post to this series which also includes a table of content . With that out of the way let’s look at of restrictions with regards to tile_static. C++ AMP introduces a new storage...
Parallel Programming in Native Code
Transferring Data between accelerator and host memory
Posted
30 days ago
by
Hasibur Rahman - MSFT
0
Comments
Hello, I am Hasibur Rahman, an engineer on the C++ AMP team. As C++ AMP is meant to utilize the computing power of accelerators such as the GPU, it is natural that any application leveraging this computational power through C++ AMP will involve transferring...
Parallel Programming in Native Code
restrict(amp) restrictions part 9 of N – lambda expressions capture rules
Posted
1 month ago
by
LingliZhang
0
Comments
This post assumes and requires that you have read the introductory post to this series which also includes a table of content . With that out of the way let’s look at restrictions on amp lambda capture rules. There are some restrictions on what...
Parallel Programming in Native Code
restrict(amp) restrictions part 8 of N – restricted lambda expressions
Posted
1 month ago
by
LingliZhang
4
Comments
This post assumes and requires that you have read the introductory post to this series which also includes a table of content . With that out of the way let’s look at of restrictions on amp lambda expressions. Restriction specifiers can be applied...
Parallel Programming in Native Code
Using C++ AMP code in a C++ CLR project
Posted
1 month ago
by
JoeM WA
0
Comments
In a previous blog post I showed how to call a native function implemented using C++ AMP located within a native DLL from a C++ CLR application . Some out there may feel that managing two projects (a native DLL and a managed assembly) is overkill just...
Parallel Programming in Native Code
Atomic Operations in C++ AMP
Posted
1 month ago
by
SteveDeitz
6
Comments
Hi, I’m Steve Deitz, a developer on the C++ AMP team, and in this post, I’ll review the atomic operations available in C++ AMP, mention some important caveats, and show a simple example. Atomic operations are the only safe and correct way...
Parallel Programming in Native Code
restrict(amp) restrictions part 7 of N – volatile and miscellaneous forbidden operators and statements
Posted
1 month ago
by
LingliZhang
3
Comments
This post assumes and requires that you have read the introductory post to this series which also includes a table of content . With that out of the way let’s look at some restrictions for some statements, operators and the volatile qualifier. ...
Parallel Programming in Native Code
restrict(amp) restrictions part 6 of N – pointer operations and casting
Posted
1 month ago
by
LingliZhang
0
Comments
This post assumes and requires that you have read the introductory post to this series which also includes a table of content . With that out of the way let’s look at restrictions with pointer operations and casting. Since pointers in C++ AMP...
Parallel Programming in Native Code
Sample of 2D Triangle Rotation in C++ AMP
Posted
1 month ago
by
Charles Fu
0
Comments
In my previous blog post on D3D interoperability with C++ AMP we looked at the APIs. In this blog post I will show a sample that uses those APIs The attached zipped file , contains a Visual Studio 11 project of DirectX 3D sample which displays the...
Parallel Programming in Native Code
Interoperability between Direct 3D and C++ AMP
Posted
1 month ago
by
Charles Fu
0
Comments
Hi, I am Charles Fu, a developer on the C++ AMP team. In this blog post, I will describe the C++ AMP Direct3D interoperability APIs. In my next blog post I will demonstrate how to build a simple DirectX 3D application, which renders the rotation animation...
Parallel Programming in Native Code
restrict(amp) restrictions part 5 of N – identifier expressions
Posted
1 month ago
by
LingliZhang
0
Comments
This post assumes and requires that you have read the introductory post to this series which also includes a table of content . With that out of the way let’s look at restrictions around identifier expressions. In an amp-restricted function,...
Page 1 of 5 (120 items)
1
2
3
4
5