diff options
Diffstat (limited to 'src/com/jogamp/opencl/CLDevice.java')
-rw-r--r-- | src/com/jogamp/opencl/CLDevice.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/CLDevice.java b/src/com/jogamp/opencl/CLDevice.java index b47deb2b..25fb009f 100644 --- a/src/com/jogamp/opencl/CLDevice.java +++ b/src/com/jogamp/opencl/CLDevice.java @@ -635,6 +635,15 @@ public class CLDevice extends CLObject { } /** + * Returns {@link #isExtensionAvailable}("cl_khr_icd"). + * @see #getExtensions() + */ + @CLProperty("cl_khr_icd") + public boolean isICDAvailable() { + return isExtensionAvailable("cl_khr_icd"); + } + + /** * Returns {@link #isExtensionAvailable}("cl_khr_gl_sharing") || {@link #isExtensionAvailable}("cl_APPLE_gl_sharing"). * @see #getExtensions() */ @@ -850,7 +859,7 @@ public class CLDevice extends CLObject { ROUND_TO_NEAREST(CL_FP_ROUND_TO_NEAREST), /** - * round to +ve and –ve infinity rounding modes supported. + * round to positive and negative infinity rounding modes supported. */ ROUND_TO_INF(CL_FP_ROUND_TO_INF), |