[Openmp-dev] Target architecture does not support unified addressing

Itaru Kitayama via Openmp-dev openmp-dev at lists.llvm.org
Tue Nov 5 00:16:22 PST 2019


Hi,
Using a pragma like below:

$ cat tmp.cpp
#pragma omp requires unified_shared_memory

int main() {
}

produces en error on a POWER8 based system with P100 devices (that support
unified memory).

$ clang++ -fopenmp -fopenmp-targets=nvptx64 tmp.cpp
tmp.cpp:1:22: error: Target architecture does not support unified addressing
#pragma omp requires unified_shared_memory
                     ^
1 error generated.

The Clang is locally and natively built with the appropriate capability, so
what does this mean?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20191105/d9f930f4/attachment.html>


More information about the Openmp-dev mailing list