diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/jogamp/opencl/CLPlatform.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/jogamp/opencl/CLPlatform.java b/src/com/jogamp/opencl/CLPlatform.java index 77da10b4..34265465 100644 --- a/src/com/jogamp/opencl/CLPlatform.java +++ b/src/com/jogamp/opencl/CLPlatform.java @@ -468,6 +468,14 @@ public class CLPlatform { public boolean isVendorAMD() { return getVendor().contains("Advanced Micro Devices"); } + + /** + * @return true if the vendor is Intel. + */ + public boolean isVendorIntel() { + return getVendor().contains("Intel"); + } + /** * Returns the ICD suffix. */ |