Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-7129

[OpenCL] Some OpenCL problem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: General
    • Labels:
    • Affect Type:
      Userdefined

      Description

      ----- Copied from emails -------
       
      What UGENE version are you trying?

      • I downloaded from "https://github.com/ugeneunipro/ugene" . UGENE v39.0-dev

      Did you complete 1-3 ?

      1. Download and install video driver which supports OpenCL
        • Yes. Another OpenCL apps working fine.
      2. Download OpenCL headers from http://www.khronos.org/registry/cl/ or find them in video vendor SDK directory.
        • I installed from the repo server via apt-get.
      3. make sure that you have system variable is set correctly: OPENCL_INC_PATH=/path_where_open_cl_installed
        • In my case; it is OPENCL_INC_PATH=/usr/include/CL
          $ ls /usr/include/CL
          cl2.hpp     cl_dx9_media_sharing.h        cl_ext.h        cl_gl.h  cl_platform.h                    opencl.h
          cl_d3d10.h  cl_dx9_media_sharing_intel.h  cl_ext_intel.h  cl.h     cl_va_api_media_sharing_intel.h
          cl_d3d11.h  cl_egl.h                      cl_gl_ext.h     cl.hpp   cl_version.h

      If yes, what are your downloaded and installed OpenCL version?

      • OpenCL 1.2 pocl 1.4, None+Asserts, LLVM 9.0.1, RELOC, SLEEF, DISTRO, POCL_DEBUG
      • Linux testuser 5.8.0-44-generic #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

       

      To whom it may concern,
       
      I am trying to run UGENE on a single board computer which has AMD Ryzen V1000(AMD Ryzen Embedded V1605B with Radeon Vega Gfx) on it to experiment the performance of the board. I am trying to enable GPU-OpenCL support, but I am having trouble with it. 
       
      I am using Ubuntu 20.04(5.8.0-44-generic kernel). Other OpenCL applications work properly, but I could not enable GPU optimization of UGENE tools.
       
      Use GPU-optimization checkbox is disabled and I am not able to enable it. I compiled it as it is described below(Build with OpenCL). I changed ugene_globals.pri as shown below; but it is not working. When I check plugins on Plugin Viewer, I can see that OpenCL support is on.
       
       
      ugene_global.pri

      1. OPENCL detection tools
        UGENE_OPENCL_DETECTED = 1
        defineTest( use_opencl ) {     contains( UGENE_OPENCL_DETECTED, 1) : return (true)     return (false) }
         
        Build with OpenCL
        Download and install video driver wich supports OpenCL
        Download OpenCL headers from http://www.khronos.org/registry/cl/ or find them in video vendor SDK directory.
        make sure that you have system variable is set correctly: OPENCL_INC_PATH=/path_where_open_cl_installed
        cd ./src and open ugene_globals.pri, find and set variable UGENE_OPENCL_DETECTED = 1

        Attachments

          Activity

            People

            Assignee:
            yalgaer Yuliya Algaer
            Reporter:
            ichebykin Igor Chebykin [X] (Inactive)
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: