I am trying to get opencl to function properly using my nvidia GPU in wine but I am struggling to compile the libraries correctly.
I am running Ubuntu 16.04
here is how I compiled, I suspect I am missing some flags
Code: Select all
export CPPFLAGS="-I/usr/local/cuda-9.0/include/" export LDFLAGS="-L/usr/local/cuda-9.0/lib64"
./configure --with-opencl --enable-win64 --without-x
make -j4
cp dlls/opencl/opencl.dll.so /opt/wine-stable/lib64/wine/
cp dlls/opencl/opencl.dll.fake /opt/wine-stable/lib64/wine/fakedlls
When I run
Code: Select all
wine ~/.wine/drive_c/windows/syswow64/clinfo.exe
Any help on what I did wrong is appreciated, thanks.