Itseez/opencv — pull request #807 by pengx17 (2013-04-12 09:06:32+00:00)
Title: ocl: optimize bfmatcher by passing macros into build options

Passing constant values helps OpenCL to tune instruction paths. For example, unroll loops (#pragma unroll).
Performance gain is about 2x ~ 3x faster than before (on an AMD HD5850M GPU and an A8M APU's GPU).