org.lwjgl.opencl.INTELDeviceAttributeQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-opencl Show documentation
Show all versions of lwjgl-opencl Show documentation
An open, royalty-free standard for cross-platform, parallel programming of diverse processors found in personal computers, servers, mobile devices and embedded platforms.
The 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_device_attribute_query extension.
*
* This extension can be used to query additional information about Intel OpenCL devices. The additional information may be useful to tailor a specific
* workload to the properties of the device.
*/
public final class INTELDeviceAttributeQuery {
/**
* Possible values accepted as the {@code param_name} parameter of {@link CL10#clGetDeviceInfo GetDeviceInfo}, depending on the device type and the extension version.
*
* Additional queries may be added in subsequent versions of the extension.
*/
public static final int
CL_DEVICE_IP_VERSION_INTEL = 0x4250,
CL_DEVICE_ID_INTEL = 0x4251,
CL_DEVICE_NUM_SLICES_INTEL = 0x4252,
CL_DEVICE_NUM_SUB_SLICES_PER_SLICE_INTEL = 0x4253,
CL_DEVICE_NUM_EUS_PER_SUB_SLICE_INTEL = 0x4254,
CL_DEVICE_NUM_THREADS_PER_EU_INTEL = 0x4255,
CL_DEVICE_FEATURE_CAPABILITIES_INTEL = 0x4256;
/**
* Bitfield type describing the feature capabilities of a device. ({@code cl_device_feature_capabilities_intel})
*
* Additional feature flags may be added in subsequent versions of the extension.
*/
public static final int
CL_DEVICE_FEATURE_FLAG_DP4A_INTEL = 1 << 0,
CL_DEVICE_FEATURE_FLAG_DPAS_INTEL = 1 << 1;
private INTELDeviceAttributeQuery() {}
}