[PATCH] D105191: [Clang][OpenMP] Add support for Static Device Libraries
Ye Luo via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 13 06:16:33 PDT 2021
ye-luo added a comment.
@saiislam did you turn on offload? https://github.com/ye-luo/openmp-target/wiki/OpenMP-offload-compilers#llvm-clang
On NVIDIA, it fails at CMake step. On AMD, make step stops because of unrelated issue.
Please make the exact reproducer 1 working. Right now I got
$ clang++ -fopenmp -fopenmp-targets=nvptx64 -Xopenmp-target=nvptx64 -march=sm_80 modf.o
nvlink fatal : Could not open input file '/tmp/modf-88b730.cubin'
/soft/llvm/main-patched/bin/clang-nvlink-wrapper: error: 'nvlink' failed
clang-14: error: nvlink command failed with exit code 1 (use -v to see invocation)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105191/new/
https://reviews.llvm.org/D105191
More information about the cfe-commits
mailing list