[Beignet] [PATCH 2/2] fix the missing assignment for offset
Lu Guanqun
guanqun.lu at intel.com
Mon Sep 23 00:06:27 PDT 2013
Signed-off-by: Lu Guanqun <guanqun.lu at intel.com>
---
src/cl_mem.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/cl_mem.h b/src/cl_mem.h
index ac09c3b..ca601f9 100644
--- a/src/cl_mem.h
+++ b/src/cl_mem.h
@@ -132,6 +132,7 @@ cl_mem_image_init(struct _cl_mem_image *image, size_t w, size_t h,
image->tiling = tiling;
image->tile_x = tile_x;
image->tile_y = tile_y;
+ image->offset = offset;
}
struct _cl_mem_buffer {
More information about the Beignet
mailing list