diff options
author | Michael Bien <[email protected]> | 2010-09-07 21:26:53 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-09-07 21:26:53 +0200 |
commit | 84edfc7970a0bc828ba38295d88ee6e2a4dabbce (patch) | |
tree | 32db98d8458403e8ee5d6c579852bf626d3ea3a9 /src/com/jogamp/opencl/CLProperty.java | |
parent | bc4e1521cc2ccc91a033998847dc35e1a8c8687b (diff) |
added com.jogamp.util.CLInfo.
introduced CLProperty annotation for CLDevice and CLPlatform properties.
fixed bug in CLVersion.
Diffstat (limited to 'src/com/jogamp/opencl/CLProperty.java')
-rw-r--r-- | src/com/jogamp/opencl/CLProperty.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/com/jogamp/opencl/CLProperty.java b/src/com/jogamp/opencl/CLProperty.java new file mode 100644 index 00000000..d14e470a --- /dev/null +++ b/src/com/jogamp/opencl/CLProperty.java @@ -0,0 +1,25 @@ +/* + * Created on Tuesday, September 07 2010 15:35 + */ +package com.jogamp.opencl; + +import com.jogamp.opencl.util.CLUtil; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * OpenCL property. + * @author Michael Bien + * @see CLUtil#obtainDeviceProperties(com.jogamp.opencl.CLDevice) + * @see CLUtil#obtainPlatformProperties(com.jogamp.opencl.CLPlatform) + */ +@Target(ElementType.METHOD) +@Retention(RetentionPolicy.RUNTIME) +public @interface CLProperty { + /** + * The property key. + */ + String value(); +} |