forked from OSchip/llvm-project
[OpenMP][Documentation] Add FAQ entry for dynamically linked libraries
Summary: Add an FAW entry detailing the support for using dynamically linked libraries with OpenMP Offloading
This commit is contained in:
parent
1128311a19
commit
077fe0f739
|
@ -135,3 +135,10 @@ an error like this.
|
|||
|
||||
Currently, the only solution is to change how the application is built and avoid
|
||||
the use of static libraries.
|
||||
|
||||
Q: Can I use dynamically linked libraries with OpenMP offloading
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Dynamically linked libraries can be only used if there is no device code split
|
||||
between the library and application. Anything declared on the device inside the
|
||||
shared library will not be visible to the application when it's linked.
|
||||
|
|
Loading…
Reference in New Issue