From: Pan Xiuli <[email protected]>
Signed-off-by: Pan Xiuli <[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 8f78e1f..bdcca38 100644
--- a/backend/src/backend/program.cpp
+++ b/backend/src/backend/program.cpp
@@ -728,7 +728,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,
-cl-finite-math-only");
+ const std::string uncompatiblePCHOptions =
("-cl-single-precision-constant, -cl-fast-relaxed-math, -cl-std=CL1.1,
-cl-finite-math-only, -cl-unsafe-math-optimizations");
const std::string fastMathOption = ("-cl-fast-relaxed-math");
while (end != std::string::npos) {
end = optionStr.find(' ', start);
--
2.5.0
_______________________________________________
Beignet mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/beignet