summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/util
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-06-24 23:05:04 +0200
committerMichael Bien <[email protected]>2010-06-24 23:05:04 +0200
commit735c9cbbec16457358eee7424a0533fcc1b8c64c (patch)
tree8014ee2ea69ec05f6dc25802bb0ab7f260cdc2d5 /src/com/jogamp/opencl/util
parent9560f296e01e120279a01ad06189f71cd662ed42 (diff)
added CLVersion utility class and corresponding API.
version checks in unit tests. GLProfile.initSingleton() workaround in CLGLTest.
Diffstat (limited to 'src/com/jogamp/opencl/util')
-rw-r--r--src/com/jogamp/opencl/util/CLUtil.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/util/CLUtil.java b/src/com/jogamp/opencl/util/CLUtil.java
index 6649698c..973c0dc9 100644
--- a/src/com/jogamp/opencl/util/CLUtil.java
+++ b/src/com/jogamp/opencl/util/CLUtil.java
@@ -47,8 +47,9 @@ public class CLUtil {
Map<String, String> map = new LinkedHashMap<String, String>();
map.put("CL_PLATFORM_NAME", platform.getName());
map.put("CL_PLATFORM_PROFILE", platform.getProfile());
- map.put("CL_PLATFORM_VERSION", platform.getVersion());
+ map.put("CL_PLATFORM_VERSION", platform.getVersion().toString());
map.put("CL_PLATFORM_VENDOR", platform.getVendor());
+ map.put("CL_PLATFORM_ICD_SUFFIX", platform.getICDSuffix());
map.put("CL_PLATFORM_EXTENSIONS", platform.getExtensions().toString());
// map.put("fastest device (estimated)", platform.getMaxFlopsDevice().toString());