AMD多核编程
我想开始编写应用程序(C++),它将利用额外的核心来执行需要执行大量计算并且其计算彼此独立的代码部分。我有以下处理器:x64 Family 15 Model 104 Stepping 2 Authentic AMD ~1900 Mhz,在 Windows Vista Home premium 32 位和 Opensuse 11.0 64 位上运行。
在 Intel 平台上,我使用了以下 API Intel TBB、OpenMP。它们可以在 AMD 上运行吗?AMD 是否有类似的 API。您的体验如何?
I want to start to write applications(C++) that will utilize the additional cores to execute portions of the code that have a need to perform lots of calculations and whose computations are independent of each other. I have the following processor : x64 Family 15 Model 104 Stepping 2 Authentic AMD ~1900 Mhz running on Windows Vista Home premium 32 bit and Opensuse 11.0 64 bit.
On the Intel platforms , I've used the following APIs Intel TBB, OpenMP. Do they work on AMD and does AMD have similar APIs.what has been your experience?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
OpenMP 和 TBB 也可用于 AMD - 这也是一个编译器问题。
例如,请参阅AMD 上的 Linux TBB。
我认为这方面的最新发展是通过 CUDA 或类似的 API 使用显卡——但这取决于你的计算的性质。如果合适的话,无论如何它都比CPU更快。
OpenMP and TBB are both available also for AMD - it is also a compiler question.
E.g. see linux TBB on AMD.
I think the latest development on this end is to use the graphic card via CUDA or similar APIs- but this depends on the nature of your calculations. If it fits, it is faster than the CPU anyway.