- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Based on the work in the issue you mentioned (https://github.com/intel/compute-runtime/issues/166) I came up with a few fixes and was able to merge with upstream/22.42.24548. That means that there is an unofficial but compatible solution: https://github.com/kallaballa/compute-runtime/tree/clgl-fork. I still have to generate packages so you will have to build from source to use it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Today I made a github release with binary package of my unoffical fork with opengl sharing support: https://github.com/kallaballa/compute-runtime/releases/tag/22.42.24548-clgl
This release is compatible with the most recent official release "22.42.24548"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page