summaryrefslogtreecommitdiffstats
path: root/test/com/jogamp/opencl/CLCommandQueueTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/com/jogamp/opencl/CLCommandQueueTest.java')
-rw-r--r--test/com/jogamp/opencl/CLCommandQueueTest.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/com/jogamp/opencl/CLCommandQueueTest.java b/test/com/jogamp/opencl/CLCommandQueueTest.java
index ef5622a2..d4555c44 100644
--- a/test/com/jogamp/opencl/CLCommandQueueTest.java
+++ b/test/com/jogamp/opencl/CLCommandQueueTest.java
@@ -347,7 +347,12 @@ public class CLCommandQueueTest extends UITestCase {
Thread.sleep(1000);
final CLEvent status = events.getEvent(0);
- assertEquals(ExecutionStatus.QUEUED, status.getStatus());
+ // on Intel, user events start as submitted instead of queued
+ if(context.getPlatform().isVendorIntel())
+ assertEquals(ExecutionStatus.SUBMITTED, status.getStatus());
+ else
+ assertEquals(ExecutionStatus.QUEUED, status.getStatus());
+
condition.setComplete();
assertTrue(condition.isComplete());