GBE: don't enable double by default.
authorZhigang Gong <zhigang.gong@intel.com>
Thu, 11 Sep 2014 07:04:44 +0000 (15:04 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Thu, 11 Sep 2014 07:48:31 +0000 (15:48 +0800)
commitf9bd844e3deac859ec9d7db823eb9f2ecb2bf4cf
treebb1cdc4eace2b20b4094cea599ceda916f0dd995
parent80b6261648a4c86da4a3b9d95dee95d509c35e10
GBE: don't enable double by default.

Actually, we don't support double completely currently.
Let's disable it now. This bring a little incompatible point with the 1.2 spec
which doesn't require the kernel to use the following pragma to enable fp64.
 #pragma OPENCL EXTENSION cl_khr_fp64 : enable

If the application wants to try the partially supported double with beignet
under opencl 1.2, the application will still need to add the above pragma.

Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
backend/src/backend/program.cpp