Package org.lwjgl.opencl
Class INTELDriverDiagnostics
- java.lang.Object
-
- org.lwjgl.opencl.INTELDriverDiagnostics
-
public final class INTELDriverDiagnostics extends java.lang.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 Summary
Fields Modifier and Type Field Description static int
CL_CONTEXT_DIAGNOSTICS_LEVEL_BAD_INTEL
CL_CONTEXT_DIAGNOSTICS_LEVEL_GOOD_INTEL
CL_CONTEXT_DIAGNOSTICS_LEVEL_NEUTRAL_INTELThe value for the propertyCONTEXT_SHOW_DIAGNOSTICS_INTEL
is a bitfield of typecl_diagnostic_verbose_level_intel
that controls the types of diagnostic messages that are reported.static int
CL_CONTEXT_SHOW_DIAGNOSTICS_INTEL
-
-
-
Field Detail
-
CL_CONTEXT_DIAGNOSTICS_LEVEL_GOOD_INTEL, CL_CONTEXT_DIAGNOSTICS_LEVEL_BAD_INTEL, CL_CONTEXT_DIAGNOSTICS_LEVEL_NEUTRAL_INTEL
The value for the propertyCONTEXT_SHOW_DIAGNOSTICS_INTEL
is a bitfield of typecl_diagnostic_verbose_level_intel
that controls the types of diagnostic messages that are reported.Enum values:
CONTEXT_DIAGNOSTICS_LEVEL_GOOD_INTEL
- Messages under good verbose level report good use cases to verify that the driver is used properly and optimally.CONTEXT_DIAGNOSTICS_LEVEL_BAD_INTEL
- Messages under bad verbose level report cases that may result in degraded performance.CONTEXT_DIAGNOSTICS_LEVEL_NEUTRAL_INTEL
- Messages under neutral verbose level report cases that may or may not have performance implications. Additionally, neutral diagnostic messages may inform developers about specific internal driver properties.
-
-