diff options
-rw-r--r-- | test/com/jogamp/opencl/CLCommandQueueTest.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/com/jogamp/opencl/CLCommandQueueTest.java b/test/com/jogamp/opencl/CLCommandQueueTest.java index ef5622a..d4555c4 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()); |