restrict(amp) restrictions part 8 of N – restricted lambda expressions

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 to a lambda expression, which will be applied to the function call operator…

4

Using C++ AMP code in a C++ CLR project

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 to be able to use C++ AMP from managed…


Atomic Operations in C++ AMP

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 to communicate and synchronize between the threads in a non-tiled parallel_for_each and between the threads in…

9

restrict(amp) restrictions part 7 of N – volatile and miscellaneous forbidden operators and statements

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. Following is a list of statements or operators that are not allowed in an…

3