Package Details: mingw-w64-opencl-icd 2022.01.04-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-opencl-icd.git (read-only, click to copy)
Package Base: mingw-w64-opencl-icd
Description: The OpenCL ICD Loader (mingw-w64)
Upstream URL: https://github.com/KhronosGroup/OpenCL-ICD-Loader
Licenses: Apache
Groups: mingw-w64-vulkan-devel
Submitter: xantares
Maintainer: None
Last Packager: xantares
Votes: 0
Popularity: 0.000000
First Submitted: 2021-08-09 15:23 (UTC)
Last Updated: 2022-01-27 07:03 (UTC)

Latest Comments

kfg commented on 2022-09-16 10:21 (UTC) (edited on 2022-09-16 10:22 (UTC) by kfg)

Hi,

when enabling opencl support in mingw-w64-ffmpeg I got following error when running configure:

i686-w64-mingw32-gcc -Wl,--allow-multiple-definition -Wl,--large-address-aware -Wl,--nxcompat,--dynamicbase -Wl,--as-needed -Wl,--pic-executable,-e,_mainCRTStartup -o /tmp/ffconf.tM0vF53G/test.exe /tmp/ffconf.tM0vF53G/test.o -lOpenCL /usr/lib/gcc/i686-w64-mingw32/12.2.0/../../../../i686-w64-mingw32/bin/ld: /tmp/ffconf.tM0vF53G/test.o:test.c:(.text+0x1): undefined reference to `clEnqueueNDRangeKernel@36'

I was able to fix this by adding a new def file (OpenCL32.def) which exports the OpenCL symbols with stdcall suffixes in the 32 bit opencl library.

I've uploaded my changes to the PKGBUILD and patches to opencl-icd here: https://paste.debian.net/plain/1254056