[all-commits] [llvm/llvm-project] ecaef0: [flang][cuda] Support corner case of data transfer...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Fri Mar 21 15:39:29 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ecaef010f31e2557d94b4d98774ca4b4d5fe2149
https://github.com/llvm/llvm-project/commit/ecaef010f31e2557d94b4d98774ca4b4d5fe2149
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2025-03-21 (Fri, 21 Mar 2025)
Changed paths:
M flang-rt/lib/cuda/memory.cpp
Log Message:
-----------
[flang][cuda] Support corner case of data transfer (#132451)
The flang runtime will complain when the number of elements in the two
descriptors involved in the data transfer are not matching.
In some cases, we can still perform the data transfer to match the
behavior of the reference compiler.
When the RHS elements count is bigger than the LHS elements count and
both descriptors are contiguous, we can perform the data transfer with
the bare pointers and the number of bytes from the LHS.
We don't really have unit tests set up for data transfer, this is why I
didn't include one here.
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