[all-commits] [llvm/llvm-project] b4b23f: [flang][runtime] Enable more APIs in the offload b...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Wed Dec 20 11:53:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4b23ff7f8f258320986ae6af4ded5d87c7ac7e5
      https://github.com/llvm/llvm-project/commit/b4b23ff7f8f258320986ae6af4ded5d87c7ac7e5
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M flang/include/flang/ISO_Fortran_binding.h
    M flang/include/flang/Runtime/allocatable.h
    M flang/include/flang/Runtime/api-attrs.h
    M flang/include/flang/Runtime/derived-api.h
    M flang/include/flang/Runtime/matmul-transpose.h
    M flang/include/flang/Runtime/matmul.h
    M flang/include/flang/Runtime/numeric.h
    M flang/include/flang/Runtime/reduction.h
    M flang/include/flang/Runtime/support.h
    M flang/runtime/CMakeLists.txt
    M flang/runtime/allocatable.cpp
    M flang/runtime/derived-api.cpp
    M flang/runtime/matmul-transpose.cpp
    M flang/runtime/matmul.cpp
    M flang/runtime/numeric.cpp
    M flang/runtime/reduction-templates.h
    M flang/runtime/reduction.cpp
    M flang/runtime/sum.cpp
    M flang/runtime/support.cpp

  Log Message:
  -----------
  [flang][runtime] Enable more APIs in the offload build. (#75996)

This patch enables more numeric (mod, sum, matmul, etc.) APIs,
and some others.

I added new macros to disable warnings about using C++ STD methods
like operators of std::complex, which do not have __device__ attribute.
This may probably result in unresolved references, if the header files
implementation relies on libstdc++. I will need to follow up on this.




More information about the All-commits mailing list