[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
parent
c43aa466
Please register or sign in to comment