Test that queues are flushed by clReleaseCommandQueue (#923)

... as required by the OpenCL specification.

Also introduce a utility function to manage polling for changes
via a user-supplied function. Several tests we introduced lately
could have used this.

Signed-off-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
Kévin Petit
2020-09-01 10:27:27 +01:00
committed by GitHub
parent e075026819
commit f06e1896a8
6 changed files with 93 additions and 0 deletions

View File

@@ -117,6 +117,7 @@ test_definition test_list[] = {
ADD_TEST(get_image1d_info),
ADD_TEST(get_image1d_array_info),
ADD_TEST(get_image2d_array_info),
ADD_TEST(queue_flush_on_release),
ADD_TEST(queue_hint),
ADD_TEST(queue_properties),
ADD_TEST_VERSION(sub_group_dispatch, Version(2, 1)),