[Beignet] BUG: Incorrect image write when global work size is an odd multiple of 16
Dag Lem
dag at nimrod.no
Sun May 19 02:30:11 PDT 2013
Hi,
If the global work size is an odd multiple of 16, image writes are
garbled in the last work group(s).
The diff below triggers the bug in the compiler_fill_image test.
diff --git a/utests/compiler_fill_image.cpp
b/utests/compiler_fill_image.cpp
index c9242b2..6d29342 100644
--- a/utests/compiler_fill_image.cpp
+++ b/utests/compiler_fill_image.cpp
@@ -2,8 +2,8 @@
static void compiler_fill_image(void)
{
- const size_t w = 512;
- const size_t h = 512;
+ const size_t w = 1*16;
+ const size_t h = 1*16;
uint32_t color = 0x12345678;
cl_image_format format;
cl_image_desc desc;
--
Best regards,
Dag Lem
More information about the Beignet
mailing list