aboutsummaryrefslogtreecommitdiffstats
path: root/test/com/jogamp/opencl/HighLevelBindingTest.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-08-07 15:21:09 +0200
committerMichael Bien <[email protected]>2010-08-07 15:21:09 +0200
commitb32190b0b899e4806e85625e7b0d1e242fdf0f05 (patch)
tree2c375fee04e4d8b45095f1911830c09be2fb94bd /test/com/jogamp/opencl/HighLevelBindingTest.java
parent2f1035db067feef9111ac3cd28c6d1256efa9a18 (diff)
added a few CLImage junit tests.
Diffstat (limited to 'test/com/jogamp/opencl/HighLevelBindingTest.java')
-rw-r--r--test/com/jogamp/opencl/HighLevelBindingTest.java30
1 files changed, 0 insertions, 30 deletions
diff --git a/test/com/jogamp/opencl/HighLevelBindingTest.java b/test/com/jogamp/opencl/HighLevelBindingTest.java
index 884e22ee..e927f1fa 100644
--- a/test/com/jogamp/opencl/HighLevelBindingTest.java
+++ b/test/com/jogamp/opencl/HighLevelBindingTest.java
@@ -321,35 +321,5 @@ public class HighLevelBindingTest {
context.release();
}
-
- @Test
- public void supportedImageFormatsTest() {
-
- CLDevice[] devices = CLPlatform.getDefault().listCLDevices();
-
- CLDevice theChosenOne = null;
- for (CLDevice device : devices) {
- if(device.isImageSupportAvailable()) {
- theChosenOne = device;
- break;
- }
- }
-
- if(theChosenOne == null) {
- out.println("can not test image api.");
- return;
- }
-
- CLContext context = CLContext.create(theChosenOne);
-
- try{
- CLImageFormat[] formats = context.getSupportedImage2dFormats();
- assertTrue(formats.length > 0);
- out.println("sample image format: "+formats[0]);
- }finally{
- context.release();
- }
-
- }
}