cl_khr_dx9_media_sharing(3clc)

cl_khr_dx9_media_sharing3clc

Provide interoperability between opencl and selecgted adapter apis (only dx9 at this time).

Overview

The interfaces for this extension are provided in the header file cl_dx9_media_sharing.h.

If the cl_khr_dx9_media_sharing extension is supported, then the following functions are enabled:

• clGetDeviceIDsFromDX9MediaAdapterKHR(3clc).RE

• clCreateFromDX9MediaSurfaceKHR(3clc).RE

• clEnqueueAcquireDX9MediaSurfacesKHR(3clc).RE

• clEnqueueReleaseDX9MediaSurfacesKHR(3clc).RE

The OpenCL functions enabled by the cl_khr_dx9_media_sharing extension allow applications to use media surfaces as OpenCL memory objects. This allows efficient sharing of data between OpenCL and selected adapter APIs (only DX9 for now). If this extension is supported, an OpenCL image object can be created from a media surface and the OpenCL API can be used to execute kernels that read and/or write memory objects that are media surfaces. Note that OpenCL memory objects may be created from the adapter media surface if and only if the OpenCL context has been created from that adapter.

If this extension is supported by an implementation, the string "cl_khr_dx9_media_sharing" will be present in the CL_PLATFORM_EXTENSIONS or CL_DEVICE_EXTENSIONS string described in the table of allowed values for param_name for clGetDeviceInfo(3clc)

As currently proposed the interfaces for this extension would be provided in cl_dx9_media_sharing.h.

Specification

OpenCL Specification[1]

Notes

1.

OpenCL Specification

page 83, section 9.10 - DX9 Media Surface Sharing

Releases

5 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8–9
  2. 10
  3. 11
  4. 13

Authors

The Khronos Group

From opencl-1.2-man-doc 1.0~svn33624-5.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.