OpenCL的C / C ++动态绑定库(WIN32以上) [英] OpenCL C/C++ dynamic binding library (win32 and more)

查看:148
本文介绍了OpenCL的C / C ++动态绑定库(WIN32以上)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我给在OpenCL的一个尝试,而为了把这个产品,我想能够动态地绑定到OpenCL.DLL(Windows下时),以处理'优雅'的情况下没有OpenCL是安装在主机上。

I'm giving a try at OpenCL, and in order to put this in production I'd like to be able to bind dynamically to OpenCL.DLL (when under Windows), in order to handle 'gracefully' the case where no OpenCL is installed on the host computer.

是否有任何可用的库(或code段),负责这种动态的C或C ++结合的照顾,就像GLEW做的OpenGL?我想避免麻烦做自己。

Is there any available library (or code snippet) that takes care of this dynamic binding in C or C++, much like GLEW does for OpenGL ? I'd like to avoid the hassle to do it myself.

谢谢,

推荐答案

在这里你去:

http://clcc.sourceforge.net/clew_8h.html

这篇关于OpenCL的C / C ++动态绑定库(WIN32以上)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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