FS#31034 - opencl-nvidia
Attached to Project:
Arch Linux
Opened by Sunny Hsu (flaminigo) - Monday, 06 August 2012, 16:20 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 28 August 2012, 10:18 GMT
Opened by Sunny Hsu (flaminigo) - Monday, 06 August 2012, 16:20 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 28 August 2012, 10:18 GMT
|
Details
Description:
Package opencl-nvidia 304.32-1 Version 304.32. Cannot get PlatformID Call opencl interface oclGetPlatformID(&platform); Returned error code is 1001. Additional info: * package version(s) 304.32-1 * config and/or log files etc. Steps to reproduce: You may try examples of opencl in the attachment. I test it with example part1. Please use cmake to build it. |
This task depends upon
In 302.17-1 its content is:
libcuda.so
which is also in the package.
But in 304.32-1:
libnvidia-opencl.so.1
which does not exists.
It turns out the file libnvidia-opencl.so.1 is new, so I added
install -D -m755 "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-opencl.so.${pkgver}"
to package_opencl-nvidia() in the PKGBUILD
Now it works like normal (tested with cgminer)
_pkgver=304.32
md5sums=('e6d9d1f73196d5f7ea110fef59bd466e') # on line 24
It installed and the hello world runs.