[all-commits] [llvm/llvm-project] dec17c: [flang][cuda] Fix matching distance for use_device...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Sep 15 20:55:35 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dec17c44def4439db47a888341191d49f33e6891
      https://github.com/llvm/llvm-project/commit/dec17c44def4439db47a888341191d49f33e6891
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2026-09-15 (Tue, 15 Sep 2026)

  Changed paths:
    M flang/lib/Semantics/expression.cpp

  Log Message:
  -----------
  [flang][cuda] Fix matching distance for use_device and none (#223849)

https://docs.nvidia.com/hpc-sdk/compilers/cuda-fortran-prog-guide/#unified-data
the table set the matching distance for actual `use_device` and dummy
argument `none` to 1 but the implementation set it to 3.

@wangzpgi Was there a specific reason to set 3 instead of 1?



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