AMD 特定的 API 值得学习吗?

发布于 2024-07-11 00:53:00 字数 1429 浏览 8 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(3

超可爱的懒熊 2024-07-18 00:53:00

MKL 和 IPP 库在 AMD 机器上的性能(几乎)一样好。 我的猜测是 TBB 在 AMD 机器上也能正常运行。 如果我必须建议一项对双方都有利且有用的技术,那就是掌握 OpenMP 库。 带有 OpenMP 扩展的 Intel 编译器速度惊人,并且还可以与 AMD 芯片配合使用。

The MKL and IPP libraries will perform (nearly) as well on AMD machines. My guess is that TBB will also run just fine on AMD boxes. If I had to suggest a technology that would be beneficial and useful to both, it would be to master the OpenMP libraries. The Intel compiler with the OpenMP extensions is stunningly fast and works with AMD chips also.

电影里的梦 2024-07-18 00:53:00

仅当您对构建视频游戏、操作系统、数据库服务器或虚拟化软件等内容特别感兴趣时才值得。 换句话说:如果您有一个非常关心性能的部分,需要花时间在汇编程序中完成(并正确完成)。 对于英特尔来说也是如此。

Only worth it if you are specifically interested in building something like Video games, Operating systems, database servers, or virtualization software. In other words: if you have a segment where you care enough about performance to take the time to do it (and do it right) in assembler. The same is true for Intel.

不忘初心 2024-07-18 00:53:00

如果您的公司只销售包含英特尔服务器和软件的软件包,那么您就不必费心去学习 AMD 方法。 但是,如果您必须为两个(或多个)不同平台提供软件,那么可能值得研究不同的技术。 为特定于硬件的库创建包装器将非常困难。 (特别是因为涉及线程。)

并且您绝对不想为每个硬件配置编写完全独立的实现。 事实上,如果您的软件是由一般用户使用,那么您可能想要放弃英特尔技术,而使用标准线程技术。 我并不是要泄气,但我相信英特尔线程库在所有意图和目的上都有点超前于时代。

If your company sells packages of just Intel Servers with your software, then you shouldn't bother learning the AMD approach. But if you're going to have to offer software for both (or many) different platforms, then it might be worth looking into the different technologies. It will be very difficult to create the wrappers for the hardware-specific libraries. (Especially since threading is involved.)

And you definitely don't want to write completely separate implementation for each hardware configuration. In fact, if your software is to be consumed by a generic user, then you may want to abandon the Intel technology, and use standard threading techniques. I don't mean to be discouraging, but I believe that the Intel threading libraries are a bit ahead of their time for all intents and purposes.

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