Skip to content

Commit ccb1d18

Browse files
committed
[OpenMP][Docs] Remove old entry saying static libraries are unsupported
Summary: Static libraries have been supported since LLVM 15.0, this entry is misleading and should be removed.
1 parent 1792852 commit ccb1d18

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

openmp/docs/SupportAndFAQ.rst

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -267,23 +267,6 @@ By using ``libomptarget.rtl.rpc.so`` and ``openmp-offloading-server``, it is
267267
possible to explicitly perform memory transfers between processes on the host
268268
CPU and run sanitizers while doing so in order to catch these errors.
269269

270-
Q: Why does my application say "Named symbol not found" and abort when I run it?
271-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
272-
273-
This is most likely caused by trying to use OpenMP offloading with static
274-
libraries. Static libraries do not contain any device code, so when the runtime
275-
attempts to execute the target region it will not be found and you will get an
276-
an error like this.
277-
278-
.. code-block:: text
279-
280-
CUDA error: Loading '__omp_offloading_fd02_3231c15__Z3foov_l2' Failed
281-
CUDA error: named symbol not found
282-
Libomptarget error: Unable to generate entries table for device id 0.
283-
284-
Currently, the only solution is to change how the application is built and avoid
285-
the use of static libraries.
286-
287270
Q: Can I use dynamically linked libraries with OpenMP offloading?
288271
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
289272

0 commit comments

Comments
 (0)