Results 1 to 4 of 4

Thread: Deprecated "clCreateCommandQueue" avoids Profiling

  1. #1
    Newbie Newbie
    Join Date
    Sep 2018
    Posts
    2

    Deprecated "clCreateCommandQueue" avoids Profiling

    Hello,

    clCreateCommandQueue function in my host code is deprecated and it is included from "CL/cl.h" which apparently ignore the CL_QUEUE_PROFILING_ENABLE flag in the host code. I would appreciate a solution.

    My device and driver information :

    latfrom: Intel Gen OCL Driver
    Device: Intel(R) HD Graphics Haswell Ultrabook GT2 Mobile
    Parallel Compute Units : 20
    OpenCL C version: OpenCL C 1.2 beignet 1.1.1


    Regards,
    Jimbo

  2. #2
    Newbie Newbie
    Join Date
    Sep 2018
    Posts
    2
    May you please have a look at my issue and let me know what do you think!!!!!

    Do you have any idea about the problem!!!!

    regards,
    Jimbo

  3. #3
    Junior Member Newbie AndreyOGL_D3D's Avatar
    Join Date
    Oct 2015
    Posts
    26
    Hi, mehdijimbo

    clCreateCommandQueue function in my host code is deprecated and it is included from "CL/cl.h"
    You should use maco
    Code :
    #define CL_USE_DEPRECATED_OPENCL_1_2_APIS
    which apparently ignore the CL_QUEUE_PROFILING_ENABLE flag in the host code. I would appreciate a solution.
    clCreateCommandQueue has depricated since OpenCL 2.0, so you can use it for OpenCL 1.x devices. If it doesn't work on Intel GPU, please ask about it on https://software.intel.com/en-us/forums/opencl

    For example: clCreateCommandQueue with CL_QUEUE_PROFILING_ENABLE is working well on AMD R7 240(OpenCL 1.2 Full Profile), nVidia 610 (OpenCL 1.1 Full Profile)

  4. #4
    Member Contributor
    Join Date
    May 2017
    Posts
    54
    OpenCL C version: OpenCL C 1.2 beignet 1.1.1
    The "Beignet" open source OpenCL implementation was never conformant and has been replaced by the newer "NEO" implementation:

    https://github.com/intel/compute-runtime

    It supports GPUs starting with the 5th generation core processors ("Broadwell").

    For your slightly older Haswell GPU you may be able to find a closed-source release that will work here:

    https://software.intel.com/en-us/art...opencl-drivers

    The CPU OpenCL runtime may be an option that will work for you, too.

Similar Threads

  1. Switching between "arcball" and "fps-style" camera rotation
    By bsabiston in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 10-31-2017, 12:37 PM
  2. egl gles2 "function is no-op" "Mesa: User error"
    By unixmania in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-17-2013, 05:30 AM
  3. Replies: 1
    Last Post: 10-26-2012, 02:19 AM
  4. opengl & linux -- "GLTools.h"&"GLShaderManager.h"
    By ggeo1 in forum OpenGL: Linux
    Replies: 1
    Last Post: 03-07-2011, 08:39 AM
  5. "best" linux dist for a "Gelato" render farm?
    By ArtificialArtOfficial in forum OpenGL: Linux
    Replies: 10
    Last Post: 12-23-2007, 01:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean