[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automake and CUDA

From: crjjrc
Subject: Re: Automake and CUDA
Date: Tue, 11 Aug 2009 12:48:00 -0700 (PDT)
User-agent: G2/1.0

On Aug 10, 1:52 pm, Ralf Wildenhues <> wrote:

> automake doesn't know which linker to use with .cu files.  So, if you
> happen to not use any other language in this file, then
> $(LINK) will probably not be defined at all.  You could either define
> it to something sensible (containing $(NVCC) if that is appropriate)
> or, if you just want to use the C linker, add a line
>   EXTRA_first_SOURCES = dummy.c

Excellent.  Thank you for your thorough help.  I was able to get this
working.  nvcc seems to wrap around gcc, so I needed to extend the
custom rule to be almost identical to the rules for C code:


- Chris

reply via email to

[Prev in Thread] Current Thread [Next in Thread]