This is an archive of the discontinued LLVM Phabricator instance.

[clang][OpenMP] Add clang-offload-wrapper tool
AbandonedPublic

Authored by sdmitriev on Jul 22 2019, 8:18 PM.

Details

Summary

This is the first set of changes for eliminating OpenMP linker script that adds new clang-offload-wrapper tool (please see https://reviews.llvm.org/D64943 for more details). This tool takes device images as input and produces a wrapper bit-code file which contains device images as data and offload registration code that registers the binaries in OpenMP offloading runtime at startup.

Diff Detail

Event Timeline

sdmitriev created this revision.Jul 22 2019, 8:18 PM
Herald added a project: Restricted Project. · View Herald Transcript

Any feedback?

Rebased and synced up changes with https://reviews.llvm.org/D64943

sdmitriev abandoned this revision.Sep 25 2019, 4:06 PM

This patch is no longer relevant since it was agreed to split https://reviews.llvm.org/D64943 into pieces in a different way.