opencl/cvtclr_dx: fix not compile-time constants issue.
authorJun Zhao <jun.zhao@intel.com>
Tue, 26 Dec 2017 02:25:36 +0000 (10:25 +0800)
committerJun Zhao <jun.zhao@intel.com>
Tue, 26 Dec 2017 05:44:37 +0000 (13:44 +0800)
commit0369431ebd08aa22bd6ba2bc2693881d73106d0c
treedab5a3abc1ac1eaa95a324f001e21a8a4a1884a7
parent047764f476e429e0ff63f9e23f7ac96f59539356
opencl/cvtclr_dx: fix not compile-time constants issue.

fix the "initializing global variables with values that are not
compile-time constants" issue in Intel SDK for OpenCL. The root cause
is when initializing global variables with value, the variable need is
compile-time constants.

Thanks Zheng, Yang <yang.zheng@intel.com>,
Chodor, Jaroslaw <jaroslaw.chodor@intel.com> give a help.

Signed-off-by: Liu,Kaixuan <kaixuan.liu@intel.com>
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
modules/core/src/opencl/cvtclr_dx.cl