Workaround a LLVM/Clang 3.3 bug.
authorZhigang Gong <zhigang.gong@intel.com>
Wed, 12 Feb 2014 03:23:27 +0000 (11:23 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Wed, 12 Feb 2014 05:14:43 +0000 (13:14 +0800)
commit9aef26e2ad05dea8a5203e01a2de148ba86cfdf2
treebf364c589abdc7844b7b235fa4f3cf2139efb85f
parentbb4199b177f2abab7d83a0359ffddaa29f168277
Workaround a LLVM/Clang 3.3 bug.

The LLVM/Clang 3.3 has a bug when compile a cl kernel with
assignment of a scalar to a vector data type. This patch
could work around this bug.

Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
modules/ocl/src/opencl/arithm_pow.cl
modules/ocl/src/opencl/imgproc_resize.cl