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

Itaru Kitayama via Openmp-dev openmp-dev at lists.llvm.org
Tue Nov 5 12:01:59 PST 2019


I’ve been building trunk Clang locally targeting the P100 device attached
to Host. Should I check the tool chain?

On Tue, Nov 5, 2019 at 23:47 Alexey Bataev <a.bataev at outlook.com> wrote:

> You're building you code for the architecture that does not support
> unified memory, say sm_35. Unified memory only supported for architectures
> >= sm_70.
>
> -------------
> Best regards,
> Alexey Bataev
>
> 05.11.2019 3:16 AM, Itaru Kitayama via Openmp-dev пишет:
>
> 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?
>
>
> _______________________________________________
> Openmp-dev mailing listOpenmp-dev at lists.llvm.orghttps://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20191106/70274453/attachment.html>


More information about the Openmp-dev mailing list