summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Xionghu <xionghu.luo@intel.com>2015-10-15 09:30:33 +0800
committerYang Rong <rong.r.yang@intel.com>2015-10-20 17:15:37 +0800
commit0cfae1829e001807f17f66645990a4ae9bd5a53f (patch)
treeea068806e951c43eb836b14959ee6f29965463a7
parent57863e12d1e0b4f895e036446e6571a332cfee2f (diff)
pitchalignment should be set to 1.
fix case precesion fail: opencv_test_video/OCL_Video/PyrLKOpticalFlow. Signed-off-by: Luo Xionghu <xionghu.luo@intel.com> Reviewed-by: Guo, Yejun <yejun.guo@intel.com>
-rw-r--r--src/cl_gt_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cl_gt_device.h b/src/cl_gt_device.h
index 90a2f002..dddcf8fd 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,