From e4e7dc4e7a63206c091cd3288adc6a7346f74191 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Mon, 1 Feb 2010 01:09:18 +0100 Subject: 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. --- test/com/mbien/opencl/CLConcurrencyTest.java | 4 ++-- test/com/mbien/opencl/HighLevelBindingTest.java | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/com/mbien/opencl/CLConcurrencyTest.java b/test/com/mbien/opencl/CLConcurrencyTest.java index 94e8c4ee..e7a244c3 100644 --- a/test/com/mbien/opencl/CLConcurrencyTest.java +++ b/test/com/mbien/opencl/CLConcurrencyTest.java @@ -19,7 +19,7 @@ public class CLConcurrencyTest { @Test public void testEvents() throws IOException { - out.println(" - - - event synchronisation test - - - "); + out.println(" - - - event synchronization test - - - "); final int groupSize = 256; final int elements = roundUp(groupSize, ONE_MB/SIZEOF_INT * 5); // 5MB per buffer @@ -82,7 +82,7 @@ public class CLConcurrencyTest { @Test public void concurrencyTest() throws IOException, InterruptedException { - out.println(" - - - queue synchronisation test - - - "); + out.println(" - - - QueueBarrier test - - - "); final int elements = ONE_MB/SIZEOF_INT * 10; // 20MB per buffer diff --git a/test/com/mbien/opencl/HighLevelBindingTest.java b/test/com/mbien/opencl/HighLevelBindingTest.java index 6ae9ac7e..9c0e2343 100644 --- a/test/com/mbien/opencl/HighLevelBindingTest.java +++ b/test/com/mbien/opencl/HighLevelBindingTest.java @@ -58,6 +58,7 @@ public class HighLevelBindingTest { out.println(" version: "+platform.getVersion()); out.println(" vendor: "+platform.getVendor()); out.println(" max FLOPS device: "+platform.getMaxFlopsDevice()); + out.println(" extensions: "+platform.getExtensions()); CLDevice[] clDevices = platform.listCLDevices(); for (CLDevice device : clDevices) { @@ -74,7 +75,8 @@ public class HighLevelBindingTest { out.println(" max param size: "+device.getMaxParameterSize()+" byte"); out.println(" local mem: "+device.getLocalMemSize()/1024+" KB"); out.println(" local mem type: "+device.getLocalMemType()); - out.println(" global mem cache size: "+device.getGlobalMemCachSize()); + out.println(" global mem cache size: "+device.getGlobalMemCacheSize()); + out.println(" global mem cacheline size: "+device.getGlobalMemCachelineSize()); out.println(" global mem cache type: "+device.getGlobalMemCacheType()); out.println(" constant buffer size: "+device.getMaxConstantBufferSize()); out.println(" error correction support: "+device.isErrorCorrectionSupported()); -- cgit v1.2.3