[Beignet] [PATCH OCL20 11/11] Backend: Add uncompatiblePCHOptions for OCL20

Yang, Rong R rong.r.yang at intel.com
Tue Mar 15 07:16:04 UTC 2016


The patchset pushed, thanks.

> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Xiuli Pan
> Sent: Wednesday, March 2, 2016 11:02
> To: beignet at lists.freedesktop.org
> Cc: Pan, Xiuli <xiuli.pan at intel.com>
> Subject: [Beignet] [PATCH OCL20 11/11] Backend: Add
> uncompatiblePCHOptions for OCL20
> 
> From: Pan Xiuli <xiuli.pan at intel.com>
> 
> Signed-off-by: Pan Xiuli <xiuli.pan at intel.com>
> ---
>  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
> Beignet at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list