summaryrefslogtreecommitdiffstats
path: root/test/com/jogamp/opencl/HighLevelBindingTest.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-05-10 01:32:15 +0200
committerSven Gothel <[email protected]>2014-05-10 01:32:15 +0200
commita503ff720300362e68fd2868f2e87d731492bc46 (patch)
tree405cb544a6e639d44a0566f6b0df4faf3ae36b60 /test/com/jogamp/opencl/HighLevelBindingTest.java
parentf0620f1ae26a5cbdf55c9671de12f460fde179c4 (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.java10
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]);