[all-commits] [llvm/llvm-project] d8f97c: [flang][runtime] Added Fortran::common::reference_...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Fri Mar 15 14:42:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8f97c067c9488f00bfaa17086c672d1fb7106d9
      https://github.com/llvm/llvm-project/commit/d8f97c067c9488f00bfaa17086c672d1fb7106d9
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

  Changed paths:
    A flang/include/flang/Common/reference-wrapper.h
    M flang/runtime/io-stmt.h

  Log Message:
  -----------
  [flang][runtime] Added Fortran::common::reference_wrapper for use on device.

This is a simplified implementation of std::reference_wrapper that can be used
in the offload builds for the device code. The methods are properly
marked with RT_API_ATTRS so that the device compilation succedes.

Reviewers: jeanPerier, klausler

Reviewed By: jeanPerier

Pull Request: https://github.com/llvm/llvm-project/pull/85178



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