Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to write first HSA program #4

Open
ptrkrysik opened this issue Nov 15, 2016 · 3 comments
Open

How to write first HSA program #4

ptrkrysik opened this issue Nov 15, 2016 · 3 comments

Comments

@ptrkrysik
Copy link

ptrkrysik commented Nov 15, 2016

Dear HSA software Developers,

I've bought a laptop with a12-8800B (Carrizo) APU specifically to give a try to HSA. At the moment I find it extremely hard to catch up. When I search for information about HSA programming I mostly get AMD's press releases that look very promising. However there is shortage of solid information where to start to learn programming on these sites. Some of them point here for programming tools for HSA. And here most what I get is information that the projects listed on HSAFoundation's github profile are deprecated now by something called ROCm - which seems to be focused on discrete GPUs.

No software from HSAFoundation or RadeonOpenCompute says anything about Carrizo APU support - which is sad for me as I've chosen specifically this currently most capable APU with HSA in order to test HSA.

There is also no information how to write anything in C or C++ that takes advantage of HSA.

Can I get information on how to do that - or at least information that there is no such howto at the moment?

Is HSA in my APU (Carrizo) supported by any driver/programming tools?

@jedwards-AMD
Copy link

ROCm uses HSA technology, and many of the ROCm components are extensions of HSA capable drivers and runtime. The ROCm software stack is also applicable to Carrizo APU's, so you should be able to use ROCm on Carrizo systems that have the required SBIOS to expose the APU as a compute agent.

There are several programming models available to program through ROCm, including C++ PSTL interfaces and a CUDA like programming model called HIP. Please look at the following links:

https://github.com/RadeonOpenCompute/hcc
https://github.com/RadeonOpenCompute/HIP

@ptrkrysik
Copy link
Author

Thank you @jedwards-AMD for the information. I will try to follow one of these routes.

Is there some mailing list/forum for HSA/ROCm programmers?

@jedwards-AMD
Copy link

Generally using the GitHub Issues feature for each component is the most effective way to communicate with the ROCm development community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants