Class INTELSimultaneousSharing


  • public final class INTELSimultaneousSharing
    extends java.lang.Object
    Native bindings to the intel_simultaneous_sharing extension.

    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 Detail

      • CL_DEVICE_SIMULTANEOUS_INTEROPS_INTEL

        public static final int CL_DEVICE_SIMULTANEOUS_INTEROPS_INTEL
        Accepted as a property being queried in the param_name parameter of GetDeviceInfo.

        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:
        Constant Field Values
      • CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL

        public static final int CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL
        Accepted as a property being queried in the param_name parameter of GetDeviceInfo.

        Returns a cl_uint list of n combinations of context property names describing graphic APIs that the device can interoperate with simultaneously by specifying the combination in the properties parameter of CreateContext and CreateContextFromType.

        Each combination is a set of 2 or more property names and is terminated with zero.

        n is the value returned by the query for DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL.

        See Also:
        Constant Field Values