Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#20821 - [nvidia-utils] canonical OpenCL

Attached to Project: Arch Linux
Opened by orbisvicis (orbisvicis) - Sunday, 12 September 2010, 06:51 GMT
Last edited by Ionut Biru (wonder) - Sunday, 31 October 2010, 16:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Pierre Schmitz (Pierre)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
nvidia-utils provides an incomplete OpenCL distribution in /usr/include/Cl/ containing files which are likely optimized towards nvidia hardware.

The full OpenCL registry is packaged as opencl-headers on AUR and shares file conflicts with nvidia-utils.

Furthermore, since the nvidia-utils headers are not canonical, they break OpenCL-specific applications such as luxrender. (see my split-package attempt on AUR)

Therefore the nvidia-specific header extensions should be moved to a non-conflicting directory such as /usr/include/nvidia/CL/.


Additional info:
* package version(s)
nvidia-utils 256.53-1
This task depends upon

Closed by  Ionut Biru (wonder)
Sunday, 31 October 2010, 16:29 GMT
Reason for closing:  Won't fix
Additional comments about closing:  nvidia headers are no longer provided by nvidia-utils. Other headers from nvidia (from the cuda toolkit) are identical to those from khronos.org. Please close.
Comment by orbisvicis (orbisvicis) - Tuesday, 21 September 2010, 21:48 GMT
Update from http://aur.archlinux.org/packages.php?ID=35367
Simply put:

Comment by: hsyl20 on Mon, 13 Sep 2010 17:07:56 +0000
It seems that Khronos headers include NVidia, Apple and AMD specific extensions (in cl_ext.h). A solution would be to:
1) Remove OpenCL headers from other packages (nvidia, amd...)
2) Make other packages depend on opencl-headers
Comment by Stéphane Gaudreault (stephane) - Saturday, 30 October 2010, 23:43 GMT
Did you compare the nvidia headers in the nvidia archive
http://developer.download.nvidia.com/compute/cuda/3_2/toolkit/cudatoolkit_3.2.12_linux_64_fedora13.run
with those from khronos.org ?

If you diff them you will see that they are almost the same (modulo a few comments). They are NOT "optimized towards nvidia hardware" and they include the same cl_ext.h file, with the same apple extensions.

Since version 260.19.12, upstream developers of nvidia-utils dropped C headers for OpenCL and Cuda. We are discussing how to package these headers on arch-dev-public. See http://mailman.archlinux.org/pipermail/arch-dev-public/2010-October/018284.html

Loading...