On Sun, 7 Jan 2024 12:51:42 +0000
Jon Turney wrote:
> On 03/01/2024 09:29, Takashi Yano via Cygwin-apps wrote:
> >>>
> >>>> - Enable CUDA support.
> >>
> >> Curiosity, how do we support CUDA on Cygwin ?
> > 
> > nvidia cuda toolkit is used in build stage of user programs.
> > Although this is not very desirable for cygwin package, I thought
> > that the advantage of being able to use the GPU was greater than
> > the disadvantage.
> > 
> > However, on the second thought, cuda support should be a separeted
> > package from the base package, and suggest installing cuda toolkit
> > in the install stage of of that package.
> 
> If a 3rd party driver etc. needs to be installed for a Cygwin package to 
> work, we have in the past used the 'message' line in a .hint so setup 
> says that when it is installed.
> 
> (Unfortunately, generating that line is not currently supported by 
> cygport, I think)

Thanks for the advice.

In the latest release candidate, cuda suppourt module is not
in separated package. Instead, if NVIDIA GPU is detected and
user specify to use GPU, but CUDA Toolkit is not installed:

On Thu, 4 Jan 2024 09:55:07 +0900
Takashi Yano wrote:
>     time to build the kernel objects. If no CUDA Toolkit is found at
>     this time, the message:
>     "[CUDA] failed to open libdevice library file. Most likely, you do
>     not have NVIDIA CUDA Toolkit. Please consider to install it. If you
>     have it installed, set CUDA_PATH properly."
>     will be shown.

-- 
Takashi Yano <takashi.y...@nifty.ne.jp>

Reply via email to