OpenCL客户端要求 [英] OpenCL Client Side Requirements

查看:103
本文介绍了OpenCL客户端要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用AMD SDK v2.5和ATI Catalyst驱动程序在计算机上实现了一个项目,因为我拥有ATI HD5570显卡.

I have implemented a project on my computer using AMD SDK v2.5 and ATI Catalyst drivers, as I have an ATI HD5570 graphics card.

我希望我的可执行文件可以在其他平台上运行. 我希望能够检查在运行我的可执行文件的配置中是否可以找到可用的OpenCL平台. 当然,该配置可以具有Nvidia显卡.

I would like my executable to run on a different platform. I would like to be able to check whether an available OpenCL platform can be found on the configuration my executable is run. And of course the configuration can have Nvidia graphics card.

我已经在互联网上进行搜索,但是找不到我的问题的最终答案.我完全迷失了自己.有一种众所周知的方式来部署安装客户端驱动程序吗?是否有一个健壮的,合理的,组织良好的方法来满足所有这些需求? OpenCL不是很凌乱吗?

I have searched over internet but I couldn't find a final answer to my question. I am totally lost through my seach. Is there a well-known way to deploy install-client-drivers? Is there a robust-plausible and well-organized method to cover all these needs? Isn't OpenCL too messy?

感谢和问候,

简而言之,

我想为客户端计算机提供1)我的可执行文件2)任何必需的文件和DLL,并且我希望将这些支持文件保持在最小限度.那么,客户端计算机是否可以在不安装SDK的情况下运行我的代码? (客户端计算机可能具有其他供应商提供的GPU设备)

I want to provide the client computer with 1) my executable 2) any necessary files and DLL's, and i want to keep these support files minimal. So is there a way for a client computer to run my code without installing SDK's? (the client computer might have a GPU device from a different vendor)

客户端的要求/安装是否取决于开发人员使用的SDK?如果没有,即使我为他的nvidia gpu安装了最新的驱动程序,为什么我的客户端仍会收到getplatformID错误?

Does the requirements/installations on the client side, depend on the SDK used by the developer side? If not, why does my client receive a getplatformID error, even if he installed the latest drivers for his nvidia gpu?

如果我的客户想要运行在另一台计算机上(可能使用不同供应商)开发的OpenCL .exe,该怎么办?

What should my client do, if he wanted to run an OpenCL .exe developed in a different computer (and probably using different vendors) ?

推荐答案

恕我直言,您需要了解计划运行的客户端计算机的硬件详细信息,没有通用的OpenCL.dll或atiocl.dll/atiocl64.dll nvcuda.dll,可以将其与应用程序打包在一起,并希望一切正常.

Well IMHO you need to know the hardware details of client computer you are planning to run, there is no universal OpenCL.dll or atiocl.dll/atiocl64.dll nvcuda.dll, that you can package along with the application and hope that everything works.

即使您仅运行CPU而不是GPU,您也需要在尝试进行clGetPlatformID ...或此类类似调用之前,在客户端计算机中存在供应商提供的OpenCL.dll(openCL运行时).

Even if you are running only CPU and not GPU you need vendor provided OpenCL.dll (openCL runtime) to be present in the client computer before you attempt to make clGetPlatformIDs... or such simmilar calls.

HTH

这篇关于OpenCL客户端要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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