zoukankan      html  css  js  c++  java
  • 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

    mercuryknightNewbie

    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

  • 相关阅读:
    用dockerFile和docker build命令 创建带两个数据卷的新镜像
    Docker 学习 3 镜像更多命令 docker commit 提交容器副本,使之成为一个新的镜像
    Docker学习笔记 2 更多的容器命令
    Docker的学习1 安装 与 基础篇
    SeekBar(拖动条)
    本周总结
    ProgressBar(进度条)
    Android对话框
    css语法
    css基础
  • 原文地址:https://www.cnblogs.com/catkins/p/5270636.html
Copyright © 2011-2022 走看看