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
FieldsModifier and TypeFieldDescriptionstatic final intAccepted as a property being queried in theparam_nameparameter ofGetDeviceInfo.static final intAccepted as a property being queried in theparam_nameparameter 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_nameparameter 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_nameparameter ofGetDeviceInfo.Returns a
cl_uintlist ofncombinations of context property names describing graphic APIs that the device can interoperate with simultaneously by specifying the combination in thepropertiesparameter ofCreateContextandCreateContextFromType.Each combination is a set of 2 or more property names and is terminated with zero.
nis the value returned by the query forDEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL.- See Also:
-