Class INTELSimultaneousSharing
Currently OpenCL 1.2 Extension Spec forbids to specify interoperability with multiple graphics APIs at CreateContext
or
CreateContextFromType
time and defines that INVALID_OPERATION
should be returned in such cases as noted e.g. in chapters dedicated to
sharing memory objects with Direct3D 10 and Direct3D 11.
The goal of this extension is to relax the restrictions and allow to specify simultaneously these combinations of interoperabilities that are supported by a given OpenCL device.
Requires CL12
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Accepted as a property being queried in theparam_name
parameter ofGetDeviceInfo
.static final int
Accepted as a property being queried in theparam_name
parameter ofGetDeviceInfo
. -
Method Summary
-
Field Details
-
CL_DEVICE_SIMULTANEOUS_INTEROPS_INTEL
public static final int CL_DEVICE_SIMULTANEOUS_INTEROPS_INTELAccepted as a property being queried in theparam_name
parameter ofGetDeviceInfo
.Returns the number (
cl_uint
) of supported combinations of graphics API interoperabilities that can be enabled simultaneously within the same context.The minimum value is 1.
- See Also:
-
CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL
public static final int CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTELAccepted as a property being queried in theparam_name
parameter ofGetDeviceInfo
.Returns a
cl_uint
list ofn
combinations of context property names describing graphic APIs that the device can interoperate with simultaneously by specifying the combination in theproperties
parameter ofCreateContext
andCreateContextFromType
.Each combination is a set of 2 or more property names and is terminated with zero.
n
is the value returned by the query forDEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL
.- See Also:
-