[all-commits] [llvm/llvm-project] e10ed7: [flang][cuda] Record implicit pinned attribution i...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Tue Sep 22 00:16:26 PDT 2026


  Branch: refs/heads/users/ergawy/pinned-implicit-modfile
  Home:   https://github.com/llvm/llvm-project
  Commit: e10ed7bd61619265733a895a3b99270d8136c0c9
      https://github.com/llvm/llvm-project/commit/e10ed7bd61619265733a895a3b99270d8136c0c9
  Author: ergawy <kareem.ergawy at gmail.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Semantics/CUDA/cuda-pinned-implicit-modfile.cuf

  Log Message:
  -----------
  [flang][cuda] Record implicit pinned attribution in module files

Under -gpu=mem:pinned an unattributed ALLOCATABLE is attributed as pinned by
the compiler, the same way -gpu=mem:managed attributes one as managed, but
only the latter recorded that it had done so. The module file therefore spelled
an implicitly applied PINNED the same as one the user wrote, and a reader
treated it as a user requirement: adding -gpu=mem:pinned to a module's build
rejected its OpenACC-only consumers over an attribute the user never wrote.

Record the attribution for pinned as well, so it is written as
PINNED(IMPLICIT) and consumers can tell the two apart.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list