Signed-off-by: Zhigang Gong <[email protected]>
---
 backend/src/backend/program.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/src/backend/program.cpp b/backend/src/backend/program.cpp
index 06810bd..eee7c3c 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);
-- 
1.9.1

_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to