aboutsummaryrefslogtreecommitdiff
path: root/tests/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/main.cpp')
-rw-r--r--tests/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/main.cpp b/tests/main.cpp
index 2fb0dd2512..1f3c365c03 100644
--- a/tests/main.cpp
+++ b/tests/main.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017, 2018 ARM Limited.
+ * Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -191,6 +191,10 @@ int main(int argc, char **argv)
}
}
+#ifdef ARM_COMPUTE_CL
+ CLScheduler::get().sync();
+#endif /* ARM_COMPUTE_CL */
+
return (success ? 0 : 1);
}
catch(const std::exception &error)