- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
was seeing Media Samples Intel Media Server Studio for Linux preview here :https://software.intel.com/en-us/intel-media-server-studio-support/code-samples
has a new sample for Linux that includes rotate ocl samples says supports OpenCL CPU and GPU devices on Linux with Intel OpenCL SDK..
in opencl_filter_va.cpp I found
// Hook up the d3d sharing extension functions that we need
INIT_CL_EXT_FUNC(clGetDeviceIDsFromVA_APIMediaAdapterINTEL);
INIT_CL_EXT_FUNC(clCreateFromVA_APIMediaSurfaceINTEL);
INIT_CL_EXT_FUNC(clEnqueueAcquireVA_APIMediaSurfacesINTEL);
INIT_CL_EXT_FUNC(clEnqueueReleaseVA_APIMediaSurfacesINTEL);
// Check for success
if (!clGetDeviceIDsFromVA_APIMediaAdapterINTEL ||
!clCreateFromVA_APIMediaSurfaceINTEL ||
!clEnqueueAcquireVA_APIMediaSurfacesINTEL ||
!clEnqueueReleaseVA_APIMediaSurfacesINTEL)
and code like that
cl_uint nDevices = 0;
error = clGetDeviceIDsFromVA_APIMediaAdapterINTEL(m_clplatform, CL_VA_API_DISPLAY_INTEL,
m_vaDisplay, CL_PREFERRED_DEVICES_FOR_VA_API_INTEL, 1, &m_cldevice, &nDevices);
cl_context_properties props[] = { CL_CONTEXT_VA_API_DISPLAY_INTEL, (cl_context_properties) m_vaDisplay, CL_CONTEXT_INTEROP_USER_SYNC, 1, 0};
m_clcontext = clCreateContext(props, 1, &m_cldevice, NULL, NULL, &error);
shows that is creating OpenCL context from a GPU device on Linux so can Intel confirm if a preview OCL SDK for Linux has GPU support enabled?
If yes will support OpenCL 2.0 also as on Windows on Broadwell GPUs?
thanks..
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Intel Media Server Suite will add OpenCL support for Linux soon. This commercial support is used buy our target customers for a while as we commented before.
For external support, you can still try the open source project at: http://www.freedesktop.org/wiki/Software/Beignet/
As of today, OpenCL 2.0 is available on Intel Core M processors, windows only.
Regards,
Arnon Peleg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, nice.. speaking of OpenCL 2.0.. what's status of OpenCL 2.0 on Xeon Phi? being previewed/announced this week at SC14?
thanks!
![](/skins/images/872293744008A34B36F8ABF94A46CC66/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page