summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/spi/CLInfoAccessor.java
blob: 0ff0aeac4998b7a9fa1c9bc931d6b1a7501ad842 (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
/*
 * 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
 */
public interface CLInfoAccessor {

    int[] getInts(int key, int n);

    /**
     * Returns the long value for the given key.
     */
    long getLong(int key);

    /**
     * Returns the String value for the given key.
     */
    String getString(int key);

}