[PATCH] D140158: [CUDA] Allow targeting NVPTX directly without a host toolchain
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 16 10:02:32 PST 2022
jhuber6 updated this revision to Diff 483576.
jhuber6 added a comment.
Accidentally deleted the old `getInputFilename` routine which we need. The
symlink worked fine but would break on Windows, so I ended up writing a hack
that would only use `.cubin` if we have the `nvlink` linker active and the input
comes from the assembler. It's extremely ugly so let me know what you think.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140158/new/
https://reviews.llvm.org/D140158
Files:
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains/Cuda.cpp
clang/lib/Driver/ToolChains/Cuda.h
clang/test/Driver/cuda-cross-compiling.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140158.483576.patch
Type: text/x-patch
Size: 26965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221216/a6e7d24a/attachment-0001.bin>
More information about the cfe-commits
mailing list