Beignet 0.13 does not declare (double precision) M_PI, even with EXPERIMENTAL_DOUBLE
Submitted by Andreas Kloeckner
Assigned to Zhigang Gong @gongzg
Description
M_PI (and related constants) are required by 6.13.2.1 in the OpenCL 2.0 C specification.
I am using the Debian package of beignet 0.13:
-- System Information: Debian Release: 9.0 APT prefers testing APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386
Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
Versions of packages beignet-opencl-icd:amd64 depends on: ii libc6 2.24-8 ii libdrm-intel1 2.4.74-1 ii libdrm2 2.4.74-1 ii libgcc1 1:6.2.1-5 ii libllvm3.9 1:3.9.1-1 ii libstdc++6 6.2.1-5 ii libx11-6 2:1.6.4-2 ii libxext6 2:1.3.3-1 ii libxfixes3 1:5.0.3-1
beignet-opencl-icd:amd64 recommends no packages.
beignet-opencl-icd:amd64 suggests no packages.
-- no debconf information