[Beignet] [PATCH 1/3] Revert "return 32 could gain 0.2% performance on opencv optical flow case."

xionghu.luo at intel.com xionghu.luo at intel.com
Tue Oct 13 00:35:52 PDT 2015


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

This reverts commit 729b16fdb387437f97115e938745ab1135151553.
./opencv_test_imgproc --gtest_filter=OCL_Imgproc/CLAHETest.* failed due
to this patch.
---
 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 07ead7c..90a2f00 100644
--- a/src/cl_gt_device.h
+++ b/src/cl_gt_device.h
@@ -39,7 +39,7 @@
 .native_vector_width_float = 4,
 .native_vector_width_double = 2,
 .native_vector_width_half = 8,
-.preferred_wg_sz_mul = 32,
+.preferred_wg_sz_mul = 16,
 .address_bits = 32,
 .max_mem_alloc_size = 512 * 1024 * 1024,
 .image_support = CL_TRUE,
-- 
1.9.1



More information about the Beignet mailing list