[llvm-dev] problem on compiling cuda program with clang++
Renato Golin via llvm-dev
llvm-dev at lists.llvm.org
Thu Oct 27 13:04:19 PDT 2016
On 27 October 2016 at 19:02, Justin Lebar via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Hi, it looks like you're compiling CUDA for an ARM host? This is not
> a configuration we have tested, nor is it something we have the
> capability of testing at the moment.
Hi Justin,
NVidia TX1 is the AArch64 Jetson board with proper GPU (we use those).
> You may be able to make it work by providing the appropriate -isystem
> flags to clang so that it can find your headers, but who knows, it may
> be more complicated than that.
We don't use them for their GPU, so I don't know, but those kits are
meant to be CUDA development boxes.
The board setup process has an installer (JetPack) which gets all the
drivers, headers and libraires for CUDA development. It should be just
a matter of finding them and using with -isystem.
cheers,
--renato
More information about the llvm-dev
mailing list