clmagma安装使用

一 尝试在intel+tesla平台上安装opencl,遇到很多问题。不再尝试。换amd平台


1   strerror.cpp:56:8: error: ‘CL_INVALID_PROPERTY’ was not declared in this scope

解答: 在 strerror.cpp中注释掉对应行

Hi Evan,

thanks for your email. The issue is only partly due to OpenCL 1.1. 
Recent NVIDIA drivers do not ship their own OpenCL header files any 
longer, so one has to manually get them from the Khronos group. If you 
are updating to recent NVIDIA drivers, the old header files might still 
be in place.

It seems that the earlier NVIDIA header files are not 100 percent 
compatible, e.g. CL_INVALID_PROPERTY is not defined. Anyway, it should 
be sufficient if you just comment that particular line(s) in error.hpp.

undefined reference problem in clAmdFft

mercuryknight Newbie

Has anyone ever seen this error when linking libclAmdFft.Runtime?

I'm sure that my opencl environment is setup properly and other opencl codes run perfectly in my computer. It seems that the opencl installed in my computer is version 1.1 while clAmdFft library requires version 1.0.

Does anyone know how to solve it? Thanks in advance.

/home/jason/Dropbox/clAmdFft/lib32/libclAmdFft.Runtime.so: undefined reference to `clCreateBuffer@OPENCL_1.0'


Solved.

Apparently I referenced the libOpenCL.so provided by nvidia, in /usr/local/cuda/lib. After I changed it to /opt/AMDAPP/lib/x86, it works fine.

However, I still think there is a bug in here. Different applications should have been compatible with the standard OpenCL library. If AMD's application only runs on AMD's OpenCL library and nvidia's application only runs on nvidia's OpenCL library. What can I do if I want to use both of them?



http://devgurus.amd.com/thread/157052



进展:编译错误。

可能是opencl库版本不对 或者 如上边所说需要连接 amd提供的opencl库




二  AMD平台上安装clmagma

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值