diff options
author | Michael Bien <[email protected]> | 2010-02-01 01:09:18 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-02-01 01:09:18 +0100 |
commit | e4e7dc4e7a63206c091cd3288adc6a7346f74191 (patch) | |
tree | ab2435f774da803489fd58612e6b1f22a3e46cee /src/com/mbien/opencl/CLUtils.java | |
parent | 2015fa5cd47b9be234f30e4b98d06b83486e4fb2 (diff) |
trivial bugfixes, typo and javadoc warning fixes.
began to switch to gluegen's libloading infrastructure.
added CL extensions accessors to CLPlatform.
optimized isFooEnabled() methods for CLCommandQueue.
Diffstat (limited to 'src/com/mbien/opencl/CLUtils.java')
-rw-r--r-- | src/com/mbien/opencl/CLUtils.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/CLUtils.java b/src/com/mbien/opencl/CLUtils.java index eb66a7a3..03fb559c 100644 --- a/src/com/mbien/opencl/CLUtils.java +++ b/src/com/mbien/opencl/CLUtils.java @@ -32,6 +32,7 @@ class CLUtils { map.put("CL_PLATFORM_PROFILE", platform.getProfile()); map.put("CL_PLATFORM_VERSION", platform.getVersion()); map.put("CL_PLATFORM_VENDOR", platform.getVendor()); + map.put("CL_PLATFORM_EXTENSIONS", platform.getExtensions().toString()); // map.put("fastest device (estimated)", platform.getMaxFlopsDevice().toString()); return map; @@ -53,7 +54,8 @@ class CLUtils { map.put("CL_DEVICE_MAX_PARAMETER_SIZE", dev.getMaxParameterSize()+" Byte"); map.put("CL_DEVICE_LOCAL_MEM_SIZE", dev.getLocalMemSize()/1024+" KB"); map.put("CL_DEVICE_LOCAL_MEM_TYPE", dev.getLocalMemType()+""); - map.put("CL_DEVICE_GLOBAL_MEM_CACHE_SIZE", dev.getGlobalMemCachSize()+""); + map.put("CL_DEVICE_GLOBAL_MEM_CACHE_SIZE", dev.getGlobalMemCacheSize()+""); + map.put("CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE", dev.getGlobalMemCachelineSize()+""); map.put("CL_DEVICE_GLOBAL_MEM_CACHE_TYPE", dev.getGlobalMemCacheType()+""); map.put("CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE", dev.getMaxConstantBufferSize()+""); map.put("CL_DEVICE_MAX_CONSTANT_ARGS", dev.getMaxConstantArgs()+""); |