Community
cancel
Showing results for 
Search instead for 
Did you mean: 
kun__shang
Beginner
173 Views

Why cl_khr_gl_sharing and cl_khr_gl_event are both not supported ?

Jump to solution

Hi Intel and all,
    Can you tell me, what contrl the cl_khr_gl_sharing  supporting? Is the version of the cpu / gpu? Or the version of the opencl SDK /opencl runtime?
    My device is HD Graphics 530 + Intel Core i5-6300HQ;   
    OS is ubuntu 18.04.4;
    opencl SDK is  intel_sdk_for_opencl_applications_2019.5.345.tar ;
    opencl runtime is intel-opencl_20.05.15524_amd64;
    But  when I use the intel demo  to test OpenCL and OpenGL Interop , it can not work. 
    The clinfos  do not have cl_khr_gl_sharing and cl_khr_gl_event.
    Part of  the clinfos are as bellow:
        Number of platforms                               1
        Platform Name                                   Intel(R) CPU Runtime for OpenCL(TM) Applications
        Platform Vendor                                 Intel(R) Corporation
        Platform Version                                OpenCL 2.1 LINUX
        Platform Profile                                FULL_PROFILE
        Platform Extensions                             cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64 cl_khr_image2d_from_buffer cl_intel_vec_len_hint
        Platform Host timer resolution                  1ns
        Platform Extensions function suffix             INTEL
        ........
        Device Name                                     Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz
        Device Vendor                                   Intel(R) Corporation
        Device Vendor ID                                0x8086
        Device Version                                  OpenCL 2.1 (Build 0)
        Driver Version                                  18.1.0.0920
        Device OpenCL C Version                         OpenCL C 2.0
        Device Type                                     CPU
        Device Profile                                  FULL_PROFILE
        Device Available                                Yes
        Compiler Available                              Yes
        Linker Available                                Yes
        Max compute units                               4
        Max clock frequency                             2300MHz
        Device Partition                                (core)
        .......
        Device Extensions                               cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64 cl_khr_image2d_from_buffer cl_intel_vec_len_hint


    Looking forward to your reply!

0 Kudos

Accepted Solutions
Dmitry_V_Intel
Employee
173 Views

Hello Shang,

At this time, cl_khr_gl_sharing and cl_khr_gl_event device extensions are supported by OpenCL runtime for GPU only for Windows. There is an opened feature request for implementing these extensions for Linux: https://github.com/intel/compute-runtime/issues/166. Once this is done you can download the runtime here: https://github.com/intel/compute-runtime/releases.

View solution in original post

2 Replies
Dmitry_V_Intel
Employee
174 Views

Hello Shang,

At this time, cl_khr_gl_sharing and cl_khr_gl_event device extensions are supported by OpenCL runtime for GPU only for Windows. There is an opened feature request for implementing these extensions for Linux: https://github.com/intel/compute-runtime/issues/166. Once this is done you can download the runtime here: https://github.com/intel/compute-runtime/releases.

View solution in original post

kun__shang
Beginner
173 Views

Dmitry V. (Intel) wrote:

Hello Shang,

At this time, cl_khr_gl_sharing and cl_khr_gl_event device extensions are supported by OpenCL runtime for GPU only for Windows. There is an opened feature request for implementing these extensions for Linux: https://github.com/intel/compute-runtime/issues/166. Once this is done you can download the runtime here: https://github.com/intel/compute-runtime/releases.

Thanks, very much appreciated!

Reply