OpenCL SDK概述和硬件互操作性 [英] OpenCL SDK overview and hardware interoperability

查看:83
本文介绍了OpenCL SDK概述和硬件互操作性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对OpenCL开发的总体情况有些困惑,所以我只列出我当前的理解和问题.如果我错了,请纠正我.

I am a little bit confused of the overall situation when it comes to OpenCL development so I'll just state my current understanding and questions as a list. Please correct me if I'm wrong.

  1. 我知道有Intel,AMD提供的SDK(平台")(我想Nvidia SDK也支持OpenCL?)

  1. I know there are SDKs ("Platforms") by Intel, AMD (and I guess there is also OpenCL support in the Nvidia SDK?)

其他供应商提供SDK吗?

Are there SDKs by other vendors?

一个供应商的SDK是否支持另一个供应商的设备?例如带有AMD SDK的Nvidia设备?我可以使用AMD SDK在Intel CPU上运行程序.

Will the SDK of one vendor support the devices of another? e.g. Nvidia devices with AMD sdk? I am able to run programs on my Intel CPU using AMD SDK.

是否可以同时安装多个平台并在运行时进行处理?

Is it the way to go to install multiple platforms at once and handle them at runtime?

谢谢!

推荐答案

1)英特尔SDK为CPU和GPU设备(例如i7,HD4000,至强融核等)提供OpenCL 1.2支持,AMD SDK提供OpenCL 1.2支持对于CPU和GPU设备(例如Opteron,HD5xxx,HD6xxx,HD7xxx等),NVIDIA SDK仅对GPU(例如GTX 2xx,GTX 4xx,GTX 5xx,Tesla等)提供OpenCL 1.1支持.

1) Intel SDK offers OpenCL 1.2 support for CPU and GPU devices (for instance i7, HD4000, Xeon P etc.), AMD SDK offers OpenCL 1.2 support for CPU and GPU devices (for instance Opteron, HD5xxx, HD6xxx, HD7xxx, etc.), NVIDIA SDK offers OpenCL 1.1 support only for GPUs (for instance GTX 2xx, GTX 4xx, GTX 5xx, Tesla, etc.).

2)是的,来自Apple,ARM等.

2) Yes, from Apple, ARM and more.

3)是的,多亏了OpenCL ICD,您可以在NVIDIA SDK上编译可执行文件并在AMD硬件上运行.但是,您必须小心使用OpenCL版本,使用OpenCL 1.2 SDK编译并在1.1上运行可能会出现一些问题.平台.

3) Yes, thanks to OpenCL ICD, you can compile an executable on NVIDIA SDK and run on a AMD hardware. However you have to be careful with OpenCL versions, some problem can arise from compiling with an OpenCL 1.2 SDK and running on a 1.1. platform.

4)是,您可以在运行时查询OpenCL以获取可用平台的列表,并使用其中一个或全部.我每天将Intel OpenCL CPU设备与多个AMD OpenCL GPU设备一起使用.

4) Yes, you can query OpenCL at runtime for the list of available platforms and use one or all of them. I uses everyday Intel OpenCL CPU device side by side with multiple AMD OpenCL GPU devices.

这篇关于OpenCL SDK概述和硬件互操作性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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