Microsoft opens C++ extension for other compilers
- 07 February, 2012 10:40
- Comments
Microsoft has opened its C++ AMP specification so it can also be used by non-Microsoft compilers to harness the power of GPUs (graphics processing units).
"What we see is more and more people are looking to take advantage of the GPU in their applications," said Tony Goodhew, a Microsoft product manager for Visual Studio.
The purpose of C++ Accelerated Massive Parallelism, first developed for Visual Studio 11 and released along with a developer preview of that software in September, is to allow mainstream C++ developers to write their programs to run in parallel across heterogenous computing environments.
It is now free to be used by other C++ compiler makers, such as Embarcadero, Intel and the Free Software Foundation.
Increasingly, GPU makers such as Nvidia have been offering their GPUs to accelerate program performance, which can help the CPU to complete number-crunching intensive tasks. Traditionally, programming for parallel computing has been a tricky task, one mastered by highly specialized coders who have usually worked for supercomputer labs and financial trading firms.
With C++ AMP, "I won't need to be a highly trained specialist to reach this hardware," Goodhew said.
Microsoft engineers worked to minimize the number of changes to the canonical version of C++. C++ AMP does have some additional restrictions that are necessary when running the code across multiple processors. It also has a number of additional features, such as multidimensional array types, as well as support for asynchronous memory transfer, shared memory and synchronization.
For its own implementation, Microsoft used Windows' DirectCompute library for DirectX to interact with the GPUs, though compiler engineers can use other GPU interfaces, such as Nvidia's Cuda. And while this version of AMP was designed specifically for GPUs, it also lays the foundation for eventually supporting other kinds of hardware accelerators, Goodhew said.
The specification is published under the Microsoft Community Promise license.
Microsoft first released C++ AMP last September, as part of the Visual Studio 11 Developer Preview, after announcing its intentions to open the specification for outside use in June. The upcoming release of Visual Studio 11 Beta will feature additional support of the specification. The company released the specification Friday at the GoingNative 2012 C++ conference, held last week in Redmond, Washington.
The company is working with the C++ standards committee in hopes that the group will use the ideas in C++ AMP as part of the core C++ specification. It may be a while before this happens, however, given the long periods of time between updates of the standard. The latest version of the C++ standard, informally called C++2011, was released last year, and was the first major update in four years.
Join the CIO Australia group on LinkedIn. The group is open to CIOs, IT Directors, COOs, CTOs and senior IT managers.
- Bookmark this page
- Share this article
- Got more on this story? Email CIO
- Follow CIO on twitter
- Keeping up With Ever-Expanding Enterprise Data - 2010 IOUG Database Growth Survey
- Justifying Business Intelligence Applications
- Virtual Certainty - Best Practices for Gaining Monitoring Clarity in VMware Environments
- BPM Basics for Dummies
- Reconciling Datacenter consolidation and security: It starts with an integrated approach
-
Australia's first 4G smartphone is the HTC Velocity 4G
-
Swedish e-commerce startup's execs linked to NYC sex crime
-
Face Time - Interview with John Brennan and Robert DiStefano
-
How to implement next-generation storage infrastructure for Big Data
-
Pfizer's Future Depends on IT Transformation
-
Botnets: The dark side of cloud computing
Botnets pose a serious threat to your network, your business, your partners and customers. Botnets rival the power of today’s most powerful cloud computing platforms. These “dark” clouds, controlled by cybercriminals, are designed to silently infect your network. Left undetected, botnets borrow your network to serve malicious business interests. This paper details how you can protect against the risk of botnet infection using security gateways that offer comprehensive unified threat management (UTM). -
Seven Tips for Securing Mobile Workers
Seven Tips for Securing Mobile Workers is intended to offer practical guidance on dealing with one of the fastest growing threats to the security of sensitive and confidential information. -
Case Study: Keeping information on the move: Clearswift protects Maman, the logistics experts
Time is money. Every minute a consignment is held up in transit costs money and causes problems. Web and email are mission critical business tools that enable Maman, and their customers, to efficiently collaborate with partners across the globe. Spam, and other web based threats can result in delays that ultimately lead to missed deadlines - keeping the lines of communication open is therefore a key priority for Maman. Read on.
-
Windows 7 for Seniors for Dummies®
-
Windows 7 for Dummies® Dvd+book Bundle
-
Excel 2007 All-In-One Desk Reference for Dummies
-
Windows 7 for Dummies®
-
Office 2007 All-In-One Desk Reference for Dummies
-
Computers for Seniors for Dummies, 2nd Edition
-
Teach Yourself Visually Windows 7
-
Microsoft Office
-
Office 2007 for Dummies








Comments
Post new comment