summaryrefslogtreecommitdiffstats
path: root/test/com/jogamp/opencl/CLBufferTest.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/CLBufferTest.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/CLBufferTest.java')
-rw-r--r--test/com/jogamp/opencl/CLBufferTest.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/com/jogamp/opencl/CLBufferTest.java b/test/com/jogamp/opencl/CLBufferTest.java
index 635af4fc..53222014 100644
--- a/test/com/jogamp/opencl/CLBufferTest.java
+++ b/test/com/jogamp/opencl/CLBufferTest.java
@@ -68,8 +68,6 @@ public class CLBufferTest extends UITestCase {
public void createBufferTest() {
out.println(" - - - highLevelTest; create buffer test - - - ");
- if(MiscUtils.isOpenCLUnavailable())
- return;
CLContext context = CLContext.create();
try{
@@ -125,8 +123,6 @@ public class CLBufferTest extends UITestCase {
public void writeCopyReadBufferTest() {
out.println(" - - - highLevelTest; copy buffer test - - - ");
- if(MiscUtils.isOpenCLUnavailable())
- return;
final int elements = NUM_ELEMENTS;
@@ -159,8 +155,6 @@ public class CLBufferTest extends UITestCase {
public void bufferWithHostPointerTest() {
out.println(" - - - highLevelTest; host pointer test - - - ");
- if(MiscUtils.isOpenCLUnavailable())
- return;
final int elements = NUM_ELEMENTS;
@@ -205,8 +199,6 @@ public class CLBufferTest extends UITestCase {
public void mapBufferTest() {
out.println(" - - - highLevelTest; map buffer test - - - ");
- if(MiscUtils.isOpenCLUnavailable())
- return;
final int elements = NUM_ELEMENTS;
final int sizeInBytes = elements*SIZEOF_INT;
@@ -260,8 +252,6 @@ public class CLBufferTest extends UITestCase {
public void subBufferTest01ByteBuffer() {
out.println(" - - - subBufferTest - - - ");
- if(MiscUtils.isOpenCLUnavailable())
- return;
@SuppressWarnings("unchecked")
CLPlatform platform = CLPlatform.getDefault(version(CL_1_1));
@@ -307,8 +297,6 @@ public class CLBufferTest extends UITestCase {
public void subBufferTest02FloatBuffer() {
out.println(" - - - subBufferTest - - - ");
- if(MiscUtils.isOpenCLUnavailable())
- return;
@SuppressWarnings("unchecked")
CLPlatform platform = CLPlatform.getDefault(version(CL_1_1));
@@ -358,8 +346,6 @@ public class CLBufferTest extends UITestCase {
public void destructorCallbackTest() throws InterruptedException {
out.println(" - - - destructorCallbackTest - - - ");
- if(MiscUtils.isOpenCLUnavailable())
- return;
@SuppressWarnings("unchecked")
CLPlatform platform = CLPlatform.getDefault(version(CL_1_1));