diff options
author | Sven Gothel <[email protected]> | 2014-05-10 01:32:15 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-05-10 01:32:15 +0200 |
commit | a503ff720300362e68fd2868f2e87d731492bc46 (patch) | |
tree | 405cb544a6e639d44a0566f6b0df4faf3ae36b60 /test/com/jogamp/opencl/HighLevelBindingTest.java | |
parent | f0620f1ae26a5cbdf55c9671de12f460fde179c4 (diff) |
Bug 978: Promote whether a test shall fail due to unavailable CL driver in base UITest class.
Diffstat (limited to 'test/com/jogamp/opencl/HighLevelBindingTest.java')
-rw-r--r-- | test/com/jogamp/opencl/HighLevelBindingTest.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/com/jogamp/opencl/HighLevelBindingTest.java b/test/com/jogamp/opencl/HighLevelBindingTest.java index 9fa9f921..a4ce8e74 100644 --- a/test/com/jogamp/opencl/HighLevelBindingTest.java +++ b/test/com/jogamp/opencl/HighLevelBindingTest.java @@ -138,8 +138,6 @@ public class HighLevelBindingTest extends UITestCase { public void contextlessTest() { out.println(" - - - highLevelTest; contextless - - - "); - if(MiscUtils.isOpenCLUnavailable()) - return; // platform/device info tests CLPlatform[] clPlatforms = CLPlatform.listCLPlatforms(); @@ -208,10 +206,6 @@ public class HighLevelBindingTest extends UITestCase { @Test public void platformTest() { - - if(MiscUtils.isOpenCLUnavailable()) - return; - @SuppressWarnings("unchecked") CLPlatform platformGPU = CLPlatform.getDefault(version(CL_1_0), type(GPU)); @SuppressWarnings("unchecked") @@ -230,8 +224,6 @@ public class HighLevelBindingTest extends UITestCase { public void createContextTest() { out.println(" - - - highLevelTest; create context - - - "); - if(MiscUtils.isOpenCLUnavailable()) - return; CLPlatform platform = CLPlatform.getDefault(); CLDevice[] devices = platform.listCLDevices(); @@ -291,8 +283,6 @@ public class HighLevelBindingTest extends UITestCase { public void vectorAddGMTest() throws IOException { out.println(" - - - highLevelTest; global memory kernel - - - "); - if(MiscUtils.isOpenCLUnavailable()) - return; CLPlatform[] clPlatforms = CLPlatform.listCLPlatforms(); CLContext context = CLContext.create(clPlatforms[0]); |