Jump to content

AMD Team up with Microsoft for HSA C++

Fulgrim

Edit: seems this is a repost, sorry - nothing came up when searching for HSA C++ on the forum

28050834221l.jpg

 

Kaveri APUs are the first HSA enabled APUs made by AMD. Simply put HSA is a processor architecture that integrates a CPU and a GPU onto a single bus, allowing them to share tasks and memory. This allows both to work together while sharing the same memory, which can drastically improve performance.

 

This allows both the CPU and the GPU to be much more highly compatible, at least in the eyes of a programmer, essentially allowing both the CPU and GPU units to be used for a single task without separate memory and scheduling. This in affect relieves the programmer of having to move data between devices and their disjointed memory, as has to be done with Open CL and CUDA.

 

Today it has been announced that AMD and Microsoft have been working on an opne source C++ compiler which among other things enables support for shared Physical memory, which greatly simplifies making HSA enabled applications on C++. This has the potential to make HSA enabled programs to become much more common, both on Windows and Linux, potentially making AMD's APUs a higher performing part than once thought.

 

28052302338l.png

 

 

 

SUNNYVALE, Calif. 8/26/2014

 

AMD in collaboration with Microsoft today announced the release of C++ AMP version 1.2 – an open source C++ compiler which implements version 1.2 of the open specification for C++ AMP, available on both Linux and Windows for the first time. The release represents another step forward toward AMD’s goal of supporting cross-platform solutions, multiple programming languages and continued contributions to the open source community. The tool, which leverages Clang and LLVM, accelerates productivity and ease of use for developers wishing to harness the full power of modern heterogeneous platforms spanning servers, PCs and handheld devices.

 

28051016454l.jpg

 

 

“AMD has a consistent track record of enriching the developer experience, and we’re proud to make the first open source implementation of C++ AMP available to enable greater performance and more power-efficient applications,” said Manju Hegde, corporate vice president, Heterogeneous Applications and Solutions, AMD. “The cross-platform release is another step in strengthening AMD’s developer solutions, allowing for increased productivity and accelerated applications through shared physical memory across the CPU and GPU on both Linux and Windows.”

 

“AMD continues to deliver excellent developer tools for heterogeneous programming. Partnering with AMD to deliver C++ AMP to the Linux and Open Source communities was a natural step for Microsoft as we work to improve the performance and developer experience on modern computing platforms,” said S. Somasegar, corporate vice president of the Developer Division at Microsoft.

 

C++ AMP version 1.2 enables C++ developers to accelerate applications across a broad set of hardware and software configurations by supporting three outputs:

 

Khronos Group OpenCL1, supporting AMD CPU/APU/GPU, Intel CPU/APU, NVIDIA GPU, Apple Mac OS X and other OpenCL compliant platforms;

Khronos Group SPIR, supporting AMD CPU/APU/GPU, Intel CPU/APU and future SPIR compliant platforms; and

HSA Foundation HSAIL, supporting AMD APU and future HSA compliant platforms.

A key performance feature of version 1.2 of the open source C++ AMP specification is support for shared physical memory, which greatly simplifies sharing of data between the CPU and GPU on heterogeneous platforms. Heterogeneous platforms built on the new spec allow programmers to benefit from minimized overhead of expensive data copies and pointer updates when accelerating applications.

 

Supporting Resources

Access latest C++ AMP compiler source code here

View the Open C++ AMP specification version 1.2 here

For more information about Clang and LLVM, visit their website.  

 

Source

Shot through the heart and you're to blame, 30fps and i'll pirate your game - Bon Jovi

Take me down to the console city where the games are blurry and the frames are thirty - Guns N' Roses

Arguing with religious people is like explaining to your mother that online games can't be paused...

Link to comment
Share on other sites

Link to post
Share on other sites

So, since it is open source, can Intel ustilise this? Because it would be amazing for Atom powered tablets and the like (Surface (Pro) kind of stuff as well) 

 

For anything bigger then a laptop a discrete GPU is better I think, but for Ultra books and tablets it seems amazing (especially since they did show some AMD powered tablets on Computex if I remember correctly, I haven't seen any AMD powered tablets yet for purchase) 

"Great minds discuss ideas; average minds discuss events; small minds discuss people."

Main rig:

i7-4790 - 24GB RAM - GTX 970 - Samsung 840 240GB Evo - 2x 2TB Seagate. - 4 monitors - G710+ - G600 - Zalman Z9U3

Other devices

Oneplus One 64GB Sandstone

Surface Pro 3 - i7 - 256Gb

Surface RT

Server:

SuperMicro something - Xeon e3 1220 V2 - 12GB RAM - 16TB of Seagates 

Link to comment
Share on other sites

Link to post
Share on other sites

Repost

Post links or it didn't happen. I couldn't find a post about this.

Shot through the heart and you're to blame, 30fps and i'll pirate your game - Bon Jovi

Take me down to the console city where the games are blurry and the frames are thirty - Guns N' Roses

Arguing with religious people is like explaining to your mother that online games can't be paused...

Link to comment
Share on other sites

Link to post
Share on other sites

Searched for HSA C++ and the forum search bar came up with nothing. Oh well.

Shot through the heart and you're to blame, 30fps and i'll pirate your game - Bon Jovi

Take me down to the console city where the games are blurry and the frames are thirty - Guns N' Roses

Arguing with religious people is like explaining to your mother that online games can't be paused...

Link to comment
Share on other sites

Link to post
Share on other sites

Can it run in "dual graphics mode" with two r9 290's?

 

Until they do that, (or 4, would be awesome) I'm not interested.

Ketchup is better than mustard.

GUI is better than Command Line Interface.

Dubs are better than subs

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×