diff options
author | Joseph Huber <35342157+jhuber6@users.noreply.github.com> | 2023-09-28 11:22:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 11:22:11 -0500 |
commit | 7485d36a6267d1861710dfcb1b64784e4fb1187c (patch) | |
tree | 6d6272c9e6c95678973a94a3f3af44f7340b57ab /clang/lib/Basic/FileManager.cpp | |
parent | c43aa466b8980e620fd27404ca2ba60210b76111 (diff) | |
download | llvm-7485d36a6267d1861710dfcb1b64784e4fb1187c.zip llvm-7485d36a6267d1861710dfcb1b64784e4fb1187c.tar.gz llvm-7485d36a6267d1861710dfcb1b64784e4fb1187c.tar.bz2 |
[LinkerWrapper] Correctly handle multiple image wrappers (#67679)
Summary:
We use these image wrappers to do runtime specifica registration of
variables and to load the device image that was compiled. This was
intended to support multiple of these running at the same time, e.g. you
can have a CUDA instance running with OpenMP and they should both
function so long as you do not share state between the two. However,
because we did not use a unique name for this file it would cause
conflicts when included. This patch names the image based off of the
language runtime it's using so that they remain separate.
Fixes: https://github.com/llvm/llvm-project/issues/67583
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions