From 0c11c883cd99bf35b2fba0e988eec9957a075066 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Tue, 9 Aug 2016 11:38:21 -0500
Subject: [PATCH] Add missing synchronization in fine-grain SVM test

---
 test/test_wrapper.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/test_wrapper.py b/test/test_wrapper.py
index f5d774ba..a76aef79 100644
--- a/test/test_wrapper.py
+++ b/test/test_wrapper.py
@@ -1016,6 +1016,7 @@ def test_fine_grain_svm(ctx_factory):
         """).build()
 
     prg.twice(queue, ary.shape, None, cl.SVM(ary))
+    queue.finish()
 
     print(ary)
     assert np.array_equal(orig_ary*2, ary)
-- 
GitLab