[Beignet] [Patch v2 3/4] pitchalignment should be set to 1.

xionghu.luo at intel.com xionghu.luo at intel.com
Wed Oct 14 18:30:33 PDT 2015


From: Luo Xionghu <xionghu.luo at intel.com>

fix case precesion fail: opencv_test_video/OCL_Video/PyrLKOpticalFlow.

Signed-off-by: Luo Xionghu <xionghu.luo at intel.com>
---
 src/cl_gt_device.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cl_gt_device.h b/src/cl_gt_device.h
index 90a2f00..dddcf8f 100644
--- a/src/cl_gt_device.h
+++ b/src/cl_gt_device.h
@@ -126,5 +126,5 @@ DECL_INFO_STRING(driver_version, LIBCL_DRIVER_VERSION_STRING)
 .affinity_domain = 0,
 .partition_type = {0},
 .device_reference_count = 1,
-.image_pitch_alignment = 2,
+.image_pitch_alignment = 1,
 .image_base_address_alignment = 4096,
-- 
1.9.1



More information about the Beignet mailing list