Intel OpenCL SDK 可用于 Windows 11 吗?

huangapple go评论72阅读模式
英文:

Is Intel OpenCL SDK available for Windows 11?

问题

我想在我的笔记本电脑上的 Windows 11 上利用 GPU 运行一些 C++ 代码。我在互联网上看到需要安装 Intel OpenCL SDK。我尝试下载它,但收到一个警告,说它只推荐在 Windows 10 上使用。尽管如此,我还是继续安装,但我找不到所有的 C++ 头文件。这是因为我使用了 Windows 11,还是有其他原因?我以为下载应该包含所有的 OpenCL 头文件等等。

英文:

I want to run some C++ on my Laptop GPU with Windows 11. I saw in the Internet that I need the Intel OpenCL SDK. I tried to download it, but I got a warning that it's only recommended for Windows 10. I still continued with the installation, but i can't find all the C++ header files. Is that because I use Windows 11 or is there another reason for this?

I thought that the Download would contain all the OpenCL header files and so on.

答案1

得分: 0

不需要使用英特尔 OpenCL SDK 进行 OpenCL 开发。您只需要图形驱动程序,这可能已经存在,并且需要 OpenCL 头文件。关于如何在 Visual Studio Community 项目中设置它,请参见这里;这对英特尔/AMD 的 GPU 以及 Windows 10 和 11 均适用。

英文:

You don't need the Intel OpenCL SDK for OpenCL development. All you need is the graphics driver, which probably is already present, and the OpenCL header files. For how to set it up in a Visual Studio Community project, see here; this works for Intel/AMD GPUs too, and on both Windows 10 and 11.

huangapple
  • 本文由 发表于 2023年2月16日 03:12:00
  • 转载请务必保留本文链接:https://go.coder-hub.com/75464458.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定