[all-commits] [llvm/llvm-project] f8a9f4: [flang][runtime] Enable real/complex kind 10 and 1...
Slava Zakharin via All-commits
all-commits at lists.llvm.org
Wed Aug 31 15:20:05 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f8a9f43ef7affb7991e60cdd5ce93d2566f5b2e4
https://github.com/llvm/llvm-project/commit/f8a9f43ef7affb7991e60cdd5ce93d2566f5b2e4
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2022-08-31 (Wed, 31 Aug 2022)
Changed paths:
M flang/include/flang/Runtime/cpp-type.h
M flang/runtime/dot-product.cpp
Log Message:
-----------
[flang][runtime] Enable real/complex kind 10 and 16 variants of dot_product.
HasCppTypeFor<> used to evaluate to false always, so kind 10 and 16
variants of dot_product were not instantiated even though the host
supported 80- and 128-bit real and complex data types.
In addition, HAS_FLOAT128 was not enabling complex kind=16 variant
of dot_product. This is fixed now.
Note that the change for HasCppTypeFor<> may also affect other
functions such as matmul, i.e. kind 10 and 16 variants of them
may become available now (depending on the build host).
Differential Revision: https://reviews.llvm.org/D133051
More information about the All-commits
mailing list