summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/spi
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/jogamp/opencl/spi')
-rw-r--r--src/com/jogamp/opencl/spi/CLInfoAccessor.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/spi/CLInfoAccessor.java b/src/com/jogamp/opencl/spi/CLInfoAccessor.java
index 0ff0aeac..a02a38e8 100644
--- a/src/com/jogamp/opencl/spi/CLInfoAccessor.java
+++ b/src/com/jogamp/opencl/spi/CLInfoAccessor.java
@@ -6,13 +6,19 @@ package com.jogamp.opencl.spi;
/**
* Internal utility for common OpenCL clGetFooInfo calls.
* Provides common accessors to CL objects.
- * @author Michael Bien
+ * @author Michael Bien, et al.
*/
public interface CLInfoAccessor {
int[] getInts(int key, int n);
/**
+ * Returns the <code>uint32_t</code> value for the given key,
+ * reinterpreted as a <code>long</code> value.
+ */
+ long getUInt32Long(int key);
+
+ /**
* Returns the long value for the given key.
*/
long getLong(int key);