This is an archive of the discontinued LLVM Phabricator instance.

[libomptarget] Replace forceinline with inline to work around nvcc deleting forceinline symbols
AbandonedPublic

Authored by JonChesterfield on Nov 5 2019, 10:42 AM.

Details

Summary

[libomptarget] Replace forceinline with inline to work around nvcc deleting forceinline symbols

There is a problem with some installs of nvcc deleting the forceinline symbols from support.cu.
Adding the people who reported this as reviewers. This patch is an eductated guess at a fix,
posting it without a local repro for the failure. See D69857 for an alternative.