JOCL v2.6.0-rc-20250722
JOCL, OpenCL® API Binding for Java™ (public API).
CLInfoAccessor.java
Go to the documentation of this file.
1/*
2 * Created on Thursday, May 19 2011 16:43
3 */
4package com.jogamp.opencl.spi;
5
6/**
7 * Internal utility for common OpenCL clGetFooInfo calls.
8 * Provides common accessors to CL objects.
9 * @author Michael Bien, et al.
10 */
11public interface CLInfoAccessor {
12
13 int[] getInts(int key, int n);
14
15 /**
16 * Returns the <code>uint32_t</code> value for the given key,
17 * reinterpreted as a <code>long</code> value.
18 */
19 long getUInt32Long(int key);
20
21 /**
22 * Returns the long value for the given key.
23 */
24 long getLong(int key);
25
26 /**
27 * Returns the String value for the given key.
28 */
29 String getString(int key);
30
31}
Internal utility for common OpenCL clGetFooInfo calls.
long getLong(int key)
Returns the long value for the given key.
long getUInt32Long(int key)
Returns the uint32_t value for the given key, reinterpreted as a long value.
String getString(int key)
Returns the String value for the given key.