blob: a02a38e868034feb961d301f7063955eb72262d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* Created on Thursday, May 19 2011 16:43
*/
package com.jogamp.opencl.spi;
/**
* Internal utility for common OpenCL clGetFooInfo calls.
* Provides common accessors to CL objects.
* @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);
/**
* Returns the String value for the given key.
*/
String getString(int key);
}
|