{"id":76,"date":"2012-02-11T10:33:56","date_gmt":"2012-02-11T09:33:56","guid":{"rendered":"http:\/\/becpp.org\/blog\/?p=76"},"modified":"2012-02-11T10:33:56","modified_gmt":"2012-02-11T09:33:56","slug":"changes-to-the-c-amp-specification","status":"publish","type":"post","link":"https:\/\/becpp.org\/blog\/2012\/02\/11\/changes-to-the-c-amp-specification\/","title":{"rendered":"Changes to the C++ AMP Specification"},"content":{"rendered":"<p>Starting with Visual C++ 11 Beta, there will be a few small changes to the C++ AMP specification compared to the C++ AMP in the Visual C++ 11 Developer Preview. Tamer Afify from the C++ AMP team explains it as follows <a href=\"http:\/\/blogs.msdn.com\/b\/nativeconcurrency\/archive\/2012\/01\/20\/grid-class-replacement.aspx\" target=\"_blank\">in his blog post<\/a>:<\/p>\n<p>&#8220;In the Visual Studio 11 Developer Preview, C++ AMP had a <strong>grid<\/strong> class that was basically an <strong>extent<\/strong>, plus an <strong>index<\/strong> object representing an origin. In the Beta we have removed grid from the programming model and instead you simply use an extent. Also the <strong>tiled_grid<\/strong> class was removed and a <strong>tiled_extent<\/strong> class is introduced with the same functionality that <strong>tiled_grid<\/strong> provided.&#8221;<\/p>\n<p>Every API that returned or accepted a <strong>grid<\/strong> or <strong>tiled_grid<\/strong> now returns or accepts an <strong>extent<\/strong> or <strong>tiled_extent<\/strong>. Most C++ AMP code can be modified with a simple find and replace operation. The find and replace operation is a bit more complicated if you have set the origin parameter of your grid to something other than the default zero index object. Check <a href=\"http:\/\/blogs.msdn.com\/b\/nativeconcurrency\/archive\/2012\/01\/20\/grid-class-replacement.aspx\" target=\"_blank\">Tamer Afify blog post<\/a> for more details.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Starting with Visual C++ 11 Beta, there will be a few small changes to the C++ AMP specification compared to the C++ AMP in the Visual C++ 11 Developer Preview. Tamer Afify from the C++ AMP team explains it as follows in his blog post: &#8220;In the Visual Studio 11 Developer Preview, C++ AMP had [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","footnotes":""},"categories":[3],"tags":[8,7],"class_list":["post-76","post","type-post","status-publish","format-standard","hentry","category-general","tag-c-amp","tag-visual-c-11"],"_links":{"self":[{"href":"https:\/\/becpp.org\/blog\/wp-json\/wp\/v2\/posts\/76","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/becpp.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/becpp.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/becpp.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/becpp.org\/blog\/wp-json\/wp\/v2\/comments?post=76"}],"version-history":[{"count":2,"href":"https:\/\/becpp.org\/blog\/wp-json\/wp\/v2\/posts\/76\/revisions"}],"predecessor-version":[{"id":78,"href":"https:\/\/becpp.org\/blog\/wp-json\/wp\/v2\/posts\/76\/revisions\/78"}],"wp:attachment":[{"href":"https:\/\/becpp.org\/blog\/wp-json\/wp\/v2\/media?parent=76"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/becpp.org\/blog\/wp-json\/wp\/v2\/categories?post=76"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/becpp.org\/blog\/wp-json\/wp\/v2\/tags?post=76"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}