Class INTELDriverDiagnostics

java.lang.Object
org.lwjgl.opencl.INTELDriverDiagnostics

public final class INTELDriverDiagnostics extends Object
Native bindings to the intel_driver_diagnostics extension.

The OpenCL specification allows registering a callback function during OpenCL context creation that will be called whenever there is an error. This extension extends this mechanism by allowing the driver to pass additional strings containing diagnostic information. The diagnostic messages can help to understand how the driver works and can provide guidance to modify an application to improve performance.

Requires CL12.

  • Field Details

    • CL_CONTEXT_SHOW_DIAGNOSTICS_INTEL

      public static final int CL_CONTEXT_SHOW_DIAGNOSTICS_INTEL
      Accepted as a property name in the properties parameter of CreateContext and CreateContextFromType.
      See Also:
    • CL_CONTEXT_DIAGNOSTICS_LEVEL_GOOD_INTEL

      public static final int CL_CONTEXT_DIAGNOSTICS_LEVEL_GOOD_INTEL
      The value for the property CONTEXT_SHOW_DIAGNOSTICS_INTEL is a bitfield of type cl_diagnostic_verbose_level_intel that controls the types of diagnostic messages that are reported.
      Enum values:
      See Also:
    • CL_CONTEXT_DIAGNOSTICS_LEVEL_BAD_INTEL

      public static final int CL_CONTEXT_DIAGNOSTICS_LEVEL_BAD_INTEL
      The value for the property CONTEXT_SHOW_DIAGNOSTICS_INTEL is a bitfield of type cl_diagnostic_verbose_level_intel that controls the types of diagnostic messages that are reported.
      Enum values:
      See Also:
    • CL_CONTEXT_DIAGNOSTICS_LEVEL_NEUTRAL_INTEL

      public static final int CL_CONTEXT_DIAGNOSTICS_LEVEL_NEUTRAL_INTEL
      The value for the property CONTEXT_SHOW_DIAGNOSTICS_INTEL is a bitfield of type cl_diagnostic_verbose_level_intel that controls the types of diagnostic messages that are reported.
      Enum values:
      See Also: