All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opencl.INTELSimultaneousSharing Maven / Gradle / Ivy

Go to download

An open, royalty-free standard for cross-platform, parallel programming of diverse processors found in personal computers, servers, mobile devices and embedded platforms.

There is a newer version: 3.3.4
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opencl;

/**
 * Native bindings to the intel_simultaneous_sharing extension.
 * 
 * 

Currently OpenCL 1.2 Extension Spec forbids to specify interoperability with multiple graphics APIs at {@link CL10#clCreateContext CreateContext} or * {@link CL10#clCreateContextFromType CreateContextFromType} time and defines that {@link CL10#CL_INVALID_OPERATION 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 {@link CL12 CL12}.

*/ public final class INTELSimultaneousSharing { /** * Accepted as a property being queried in the {@code param_name} parameter of {@link CL10#clGetDeviceInfo GetDeviceInfo}. * *

Returns the number ({@code cl_uint}) of supported combinations of graphics API interoperabilities that can be enabled simultaneously within the same * context.

* *

The minimum value is 1.

*/ public static final int CL_DEVICE_SIMULTANEOUS_INTEROPS_INTEL = 0x4104; /** * Accepted as a property being queried in the {@code param_name} parameter of {@link CL10#clGetDeviceInfo GetDeviceInfo}. * *

Returns a {@code cl_uint} list of {@code n} combinations of context property names describing graphic APIs that the device can interoperate with * simultaneously by specifying the combination in the {@code properties} parameter of {@link CL10#clCreateContext CreateContext} and {@link CL10#clCreateContextFromType CreateContextFromType}.

* *

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

* *

{@code n} is the value returned by the query for {@link #CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL}.

*/ public static final int CL_DEVICE_NUM_SIMULTANEOUS_INTEROPS_INTEL = 0x4105; private INTELSimultaneousSharing() {} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy