summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/CLProperty.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/jogamp/opencl/CLProperty.java')
-rw-r--r--src/com/jogamp/opencl/CLProperty.java25
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();
+}