Summary: | Beignet 0.13 does not declare (double precision) M_PI, even with EXPERIMENTAL_DOUBLE | ||
---|---|---|---|
Product: | Beignet | Reporter: | Andreas Kloeckner <inform> |
Component: | Beignet | Assignee: | Zhigang Gong <zhigang.gong> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Andreas Kloeckner
2017-01-31 02:43:48 UTC
M_PI is the double precision constant, and double precision isn't supported in a default (upstream or Debian) build of Beignet; use the single precision versions (M_PI_F etc) instead. (Though as they appear to be missing even when double precision is turned on (EXPERIMENTAL_DOUBLE CMake option), this is still a bug.) Thanks for you bug report, we have EXPERIMENTAL_DOUBLE options is because of we have not finished all of the double type built-in functions. And M_PI seems to be one of the unfinished part, we will announce you once double type is full supported. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/beignet/beignet/issues/27. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.