[Piglit] [RFC PATCH 0/1] Buffers with different CL_MEM_* flags

Jan Vesely jan.vesely at rutgers.edu
Thu Nov 28 17:46:52 PST 2013


Hi,

I ran across a problem of inconsistent data in CL_MEM_USE_HOST_PTR flagged buffers
(in gegl contrast-curve operation), that the following test demonstrates.
The test uses different combinations of CL_MEM flags and appropriate (I believe)
synchronization(map/copy). The test fails with latest git (mesa, llvm, libclc, ...)
on my AMD TURKS card.

I could use some comments about how to format output to best indicate failing
combination, and whether to report successful passes at all.

regards,
Jan

Jan Vesely (1):
  cl: Add buffer-flags test

 tests/all_cl.tests                |   1 +
 tests/cl/custom/CMakeLists.cl.txt |   1 +
 tests/cl/custom/buffer-flags.c    | 219 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 221 insertions(+)
 create mode 100644 tests/cl/custom/buffer-flags.c

-- 
1.8.3.1



More information about the Piglit mailing list