AMD多核编程

发布于 2024-08-09 02:44:24 字数 268 浏览 2 评论 0原文

我想开始编写应用程序(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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浅唱ヾ落雨殇 2024-08-16 02:44:24

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文