outdated opencl header cl2.hpp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Fix Released
|
Critical
|
Unassigned | ||
khronos-opencl-headers (Debian) |
Fix Released
|
Unknown
|
|||
khronos-opencl-headers (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Compared to Trusty, Xenial comes with OpenCL 2.0 support and ships /usr/include/
http://
In order to build old code, the Khronos documentation suggest to set some defines:
#define CL_HPP_
#define CL_HPP_
#define CL_HPP_
which solve some issues with cl::size_t vs std::size_t. However, some issues remain due to usage of size_t without namespace prefix.
However updating cl2.hpp to the latest version (https:/
resolved the issue for me. Could you please consider to update cl2.hpp in the package?
Description: Ubuntu 16.04.1 LTS
Release: 16.04
package version: opencl-headers 2.0~svn32091-2
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: opencl-headers 2.0~svn32091-2 [modified: usr/include/
ProcVersionSign
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri Sep 2 16:56:13 2016
Dependencies:
InstallationDate: Installed on 2016-04-21 (134 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitec
SourcePackage: khronos-
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in khronos-opencl-headers (Debian): | |
status: | Unknown → New |
Changed in khronos-opencl-headers (Ubuntu): | |
importance: | Undecided → Critical |
Changed in hundredpapercuts: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in hundredpapercuts: | |
status: | Confirmed → Fix Released |
Changed in khronos-opencl-headers (Debian): | |
status: | New → Fix Released |
I have started a discussion with the Debian OpenCL maintainers [1] and mentioned your issue.
[1] http:// lists.alioth. debian. org/pipermail/ pkg-opencl- devel/Week- of-Mon- 20160905/ 001153. html