C ++ open specifications released!

Source: Internet
Author: User

C ++ is fully named C ++ accelerated massive parallelism (accelerating large-scale parallel computing). It is a C ++-based heterogeneous parallel computing platform proposed by Microsoft. It will be released along with Visual Studio 11 and is currently a preview version. The main demand for heterogeneous parallel computing comes from the rise of General GPU computing.

GPU is ideal for large-scale data parallelismAlgorithm, That is, the sameProgramParallel operations should be performed on different groups of data. However, the architecture of the GPU is different from that of the mainstream CPU, and it is often updated and cannot be used for data transmission.Programming LanguageProgramming. Most existing GPU programming solutions, such as directcompute and opencl, must use different languages or compilers to compile the kernel part running on the GPU and the host part running on the CPU.

C ++ amp unifies these two parts. You can use the same compiler and the same syntax to compile the kernel.Code; No compiler options or settings are required. The C ++ amp API is far simpler than opencl.

For more information about C ++ amp, see here.

ArticleFrom: osnews

Source: open-source Chinese community

 

Challenge opencl Microsoft to launch a heterogeneous Language C ++ amp

[It168 news] as an open parallel acceleration computing standard, opencl has been supported by AMD, Intel, NVIDIA, and many other chip industry giants and a large number of industry vendors, but it lacks Microsoft. At the amd fusion developer summit, Microsoft finally came up with its own counterattack weapon: "C ++ amp". The three letters of "amp" are short for "accelerated massive parallelism, that is, to accelerate large-scale parallel processing.

C ++ amp

C ++ amp is a new extension of Microsoft Visual Studio and C ++ programming languages. It helps developers fully adapt to the current and future highly parallel and heterogeneous computing environments. It uses the C ++ syntax and will be released along with the next version of Visual Studio. However, it may release the test version later this year.

It is notable that Microsoft announced that the C ++ standard would be an open specification that allows integration and support by other compilers. This is undoubtedly the most direct response to opencl.

To demonstrate the power of C ++ amp, Microsoft ran a rigid body simulation program. The same executable file can run on multiple computers and devices. It supports both the Llano Apu x86 processor section of the batch flops and the Llano Apu coordinated acceleration of the batch gflops, it also supports the 830gflops radeon HD 5800 crossfire. In addition, It has 16 gflops of computing power on an AMD eseries Apu flat board machine, capable of simulating more than 16000 particles.

Opencl is free of charge, but it is currently the only option for heterogeneous computing. No one can guarantee that the C ++ amp can be selected by opencl, but at least it provides developers with new options, and there is a big support like Microsoft behind it, but where should directcompute go?

Rigid Body simulation program

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.