summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/util/CLUtil.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-16 01:07:55 +0100
committerMichael Bien <[email protected]>2010-03-16 01:07:55 +0100
commit81b94f83cb76128c481d21134c3d462590db23d0 (patch)
tree3c6665bc97d07a06a780bfc655bda73d37657c1e /src/com/mbien/opencl/util/CLUtil.java
parent68b70f68f42a0fce94aea9c47981edc8de5dd1d1 (diff)
added Capabilities enum and getter to CLDevice.
updated tests.
Diffstat (limited to 'src/com/mbien/opencl/util/CLUtil.java')
-rw-r--r--src/com/mbien/opencl/util/CLUtil.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/util/CLUtil.java b/src/com/mbien/opencl/util/CLUtil.java
index f33451f3..2b47ac84 100644
--- a/src/com/mbien/opencl/util/CLUtil.java
+++ b/src/com/mbien/opencl/util/CLUtil.java
@@ -93,11 +93,12 @@ public class CLUtil {
map.put("CL_DEVICE_IMAGE2D_MAX_DIMENSIONS", Arrays.asList(dev.getMaxImage2dWidth(), dev.getMaxImage2dHeight()).toString());
map.put("CL_DEVICE_IMAGE3D_MAX_DIMENSIONS", Arrays.asList(dev.getMaxImage2dWidth(), dev.getMaxImage2dHeight(), dev.getMaxImage3dDepth()).toString());
map.put("CL_DEVICE_MAX_SAMPLERS", dev.getMaxSamplers()+"");
+ map.put("CL_DEVICE_EXECUTION_CAPABILITIES", dev.getExecutionCapabilities()+"");
map.put("CL_DEVICE_ADDRESS_BITS", dev.getAddressBits()+"");
map.put("cl_khr_fp16", dev.isHalfFPAvailable()+"");
map.put("cl_khr_fp64", dev.isDoubleFPAvailable()+"");
- map.put("CL_DEVICE_ENDIAN_LITTLE", dev.isLittleEndianAvailable()+"");
+ map.put("CL_DEVICE_ENDIAN_LITTLE", dev.isLittleEndian()+"");
map.put("CL_DEVICE_HALF_FP_CONFIG", dev.getHalfFPConfig()+"");
map.put("CL_DEVICE_SINGLE_FP_CONFIG", dev.getSingleFPConfig()+"");
map.put("CL_DEVICE_DOUBLE_FP_CONFIG", dev.getDoubleFPConfig()+"");