diff options
author | Zhigang Gong <zhigang.gong@intel.com> | 2015-03-09 08:57:26 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2015-03-09 16:12:02 +0800 |
commit | 49eb83dbe20fbcec105d662134553efe7ba8f979 (patch) | |
tree | 66f2edb36861d8ca030ca365bf348c9f7af0d4cb | |
parent | 05da0d9157a1ef7dd735ab1e53b3e676e6591d8a (diff) |
GBE: add a new incompatible compile option -cl-finite-math-only.
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Tested-by: Meng Mengmeng <mengmeng.meng@intel.com>
-rw-r--r-- | backend/src/backend/program.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/backend/program.cpp b/backend/src/backend/program.cpp index 06810bdb..eee7c3c5 100644 --- a/backend/src/backend/program.cpp +++ b/backend/src/backend/program.cpp @@ -676,7 +676,7 @@ namespace gbe { const std::string unsupportedOptions("-cl-denorms-are-zero, -cl-strict-aliasing, -cl-opt-disable," "-cl-no-signed-zeros, -cl-fp32-correctly-rounded-divide-sqrt"); - const std::string uncompatiblePCHOptions = ("-cl-single-precision-constant, -cl-fast-relaxed-math, -cl-std=CL1.1"); + const std::string uncompatiblePCHOptions = ("-cl-single-precision-constant, -cl-fast-relaxed-math, -cl-std=CL1.1, -cl-finite-math-only"); const std::string fastMathOption = ("-cl-fast-relaxed-math"); while (end != std::string::npos) { end = optionStr.find(' ', start); |