3 ms·
C++ AMP is a framework for acceleration of general purpose C++ code with heterogeneous processors. It's not the same as DirectCompute which in this case is more
by maximilianburke 15y ago
C++ AMP is a framework for acceleration of general purpose C++ code with heterogeneous processors. It's not the same as DirectCompute which in this case is more like the assembly language of GPU programming on Windows as Microsoft is building C++ AMP on top of it.
- DiabloD3 15y agoNo, DirectCompute is more like the C++ of GPU programming. The syntax style of the compute shaders are the same C++-ish that Cg and HLSL uses. In comparison, OpenCL's compute shaders use the same C-ish that OpenCL does for GLSL. OpenCL and DirectCompute are pretty high level considering they're running on what equates to massively parallel DSPs. Oh, and OpenCL already runs on heterogeneous setups. There are OpenCL compilers for three different GPU archs, x86, PPC, Cell SPEs, a few DSPs, and ARM. An OpenCL program can use all of them at the same time if available.
- maximilianburke 15y agoI meant that it was the assembly language because DirectCompute is the target of the C++ AMP compiler, similar to how some people call JavaScript the assembly language of the web. It's the lowest level language that those developing in that environment can target.
- DiabloD3 15y agoIf you can find a url about AMP, I'd like to see it. Google seems to think it doesn't exist. It almost sounds like AMD's project that turns Java bytecode into GPU-able code (although it is limited to what you can do normally, such as no allocation of memory/no object construction, only certain type primitives, and it should be largely branchless/loopless). See: http://developer.amd.com/zones/java/aparapi/Pages/default.aspx http://developer.amd.com/zones/java/aparapi/Pages/default.as...
- sausagefeet 15y agohttp://blogs.msdn.com/b/vcblog/archive/2011/06/15/introducing-amp.aspx http://blogs.msdn.com/b/vcblog/archive/2011/06/15/introducin... http://blogs.msdn.com/b/nativeconcurrency/archive/2011/12/01/introductory-articles-for-c-amp.aspx http://blogs.msdn.com/b/nativeconcurrency/archive/2011/12/01...