AMD多核编程 [英] AMD multi-core programming
问题描述
我想开始编写应用程序(C ++),它将利用附加的内核来执行需要执行大量计算并且其计算彼此独立的部分代码.我具有以下处理器:x64系列15模型104步骤2在Windows Vista Home Premium 32位和Opensuse 11.0 64位上运行的真实AMD〜1900 Mhz.
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.
在Intel平台上,我使用了以下API:Intel TBB,OpenMP.它们可以在AMD上运行,并且AMD是否具有类似的API.您的经验如何?
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?
推荐答案
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.
这篇关于AMD多核编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!