Am 16.11.2022 um 17:40 schrieb Sveinar Søpler cybermax@dexter.no:
I tend to agree that since CUDA needs the linux version of libcuda that only come with the nvidia driver, i am a bit unsure if it would be a "default wine" thing. A regular windows user do not install (nv)CUDA.dll libraries unless they use an NVIDIA adapter afaik.
I have been working on improving CUDA support for wine here: https://github.com/SveSop/nvcuda/tree/devel , but i am unable to crack compatibility with CUDA SDK 11.6 and newer i am afraid.
Afaiu a challenge with this is interop with graphics APIs. I am writing this from half-knowledge here, but I think CUDA has ways to transfer data to and from OpenGL, d3d and Vulkan. Getting those to work will need deep rooted hooks in winex11.drv and wined3d, for a vendor specific library.
One important thing is that a Wine built on a machine with Cuda headers and libs needs to run on a machine without Cuda installed (minus Cuda functions, obviously).