是否可以在 AMD GPU 上运行 CUDA? [英] Is it possible to run CUDA on AMD GPUs?

查看:108
本文介绍了是否可以在 AMD GPU 上运行 CUDA?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将我的技能扩展到 GPU 计算.我熟悉光线追踪和实时图形(OpenGL),但下一代图形和高性能计算似乎是在 GPU 计算或类似的东西.

I'd like to extend my skill set into GPU computing. I am familiar with raytracing and realtime graphics(OpenGL), but the next generation of graphics and high performance computing seems to be in GPU computing or something like it.

我目前在我的家用电脑上使用 AMD HD 7870 显卡.我可以为此编写 CUDA 代码吗?(我的直觉是否定的,但由于 Nvidia 发布了编译器二进制文件,我可能是错的).

I currently use an AMD HD 7870 graphics card on my home computer. Could I write CUDA code for this? (my intuition is no, but since Nvidia released the compiler binaries I might be wrong).

第二个更普遍的问题是,我从哪里开始使用 GPU 计算?我敢肯定这是一个经常被问到的问题,但我看到的最好的是 08 年,我认为从那时起这个领域已经发生了很大的变化.

A second more general question is, Where do I start with GPU computing? I'm certain this is an often asked question, but the best I saw was from 08' and I figure the field has changed quite a bit since then.

推荐答案

不,您不能为此使用 CUDA.CUDA 仅限于 NVIDIA 硬件.OpenCL 将是最好的选择.

Nope, you can't use CUDA for that. CUDA is limited to NVIDIA hardware. OpenCL would be the best alternative.

Khronos 本身有一个资源列表.StreamComputing.eu 网站也是如此.对于您的 AMD 特定资源,您可能需要查看 AMD 的 APP SDK页.

Khronos itself has a list of resources. As does the StreamComputing.eu website. For your AMD specific resources, you might want to have a look at AMD's APP SDK page.

请注意,目前有多项举措将 CUDA 翻译/交叉编译为不同的语言和 API.一个这样的例子是 HIP.但是请注意,这仍然并不意味着 CUDA 可以在 AMD GPU 上运行.

Note that at this time there are several initiatives to translate/cross-compile CUDA to different languages and APIs. One such an example is HIP. Note however that this still does not mean that CUDA runs on AMD GPUs.

这篇关于是否可以在 AMD GPU 上运行 CUDA?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆