[all-commits] [llvm/llvm-project] 4042a0: [flang] [cuda] implicitly set DEVICE attribute to ...

Zhen Wang via All-commits all-commits at lists.llvm.org
Wed May 21 10:56:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4042a002cea6dc6f12e32953c820f6eae1ac1817
      https://github.com/llvm/llvm-project/commit/4042a002cea6dc6f12e32953c820f6eae1ac1817
  Author: Zhen Wang <37195552+wangzpgi at users.noreply.github.com>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Lower/CUDA/cuda-shared.cuf
    A flang/test/Semantics/cuf21.cuf

  Log Message:
  -----------
  [flang] [cuda] implicitly set DEVICE attribute to scalars in device routines (#140834)

Scalars inside device routines also need to implicitly set the DEVICE
attribute, except for function results.



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