From d4f04ddd3ef3b65b7c31d3504cf55489153c60c1 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 21 Feb 2014 08:37:26 +0100 Subject: Bug 979: Add 'CL_DEVICE_MEM_BASE_ADDR_ALIGN' to CLDevice and overal maximum to CLContext - Split CLBufferTest and use alignment. See Bug 979 for remaining issues and discussion. --- src/com/jogamp/opencl/spi/CLInfoAccessor.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/com/jogamp/opencl/spi/CLInfoAccessor.java') 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,12 +6,18 @@ 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 uint32_t value for the given key, + * reinterpreted as a long value. + */ + long getUInt32Long(int key); + /** * Returns the long value for the given key. */ -- cgit v1.2.3