[Openmp-dev] [EXTERNAL] undefined reference to `llvm_omp_target_alloc_shared

Huber, Joseph via Openmp-dev openmp-dev at lists.llvm.org
Wed Jun 9 05:48:20 PDT 2021

The special allocators are supported upstream only for the nvptx64 target. The library interface was added in March and the nvptx64 implementation in May. The test file `omp_device_managed_memory.c` gives an example usage.
From: Openmp-dev <openmp-dev-bounces at lists.llvm.org> on behalf of Itaru Kitayama via Openmp-dev <openmp-dev at lists.llvm.org>
Sent: Wednesday, June 9, 2021 1:30 AM
To: openmp-dev <openmp-dev at lists.llvm.org>
Subject: [EXTERNAL] [Openmp-dev] undefined reference to `llvm_omp_target_alloc_shared

I'd like to use llvm_omp_targe_alloc_shared(), but can't link with Clang 12;
are they available in main?
Openmp-dev mailing list
Openmp-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20210609/ba714a9a/attachment.html>

More information about the Openmp-dev mailing list