[all-commits] [llvm/llvm-project] 21d986: [flang] Add a pass to get OpenACC device ptr for C...
yebinchon via All-commits
all-commits at lists.llvm.org
Thu Jul 30 14:06:51 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 21d9869c206e12f1932aecff50d03f06f5a96339
https://github.com/llvm/llvm-project/commit/21d9869c206e12f1932aecff50d03f06f5a96339
Author: yebinchon <86588366+yebinchon at users.noreply.github.com>
Date: 2026-07-30 (Thu, 30 Jul 2026)
Changed paths:
M flang/include/flang/Optimizer/OpenACC/Passes.td
A flang/lib/Optimizer/OpenACC/Transforms/ACCDevicePtrToCUFKernel.cpp
M flang/lib/Optimizer/OpenACC/Transforms/CMakeLists.txt
A flang/test/Fir/OpenACC/device-ptr-to-cuf-kernel.mlir
Log Message:
-----------
[flang] Add a pass to get OpenACC device ptr for CUDA kernel (#212299)
When a CUDA kernel is launched inside an OpenACC data region, it does
not properly get the device pointers and instead uses host data. This PR
adds a pass to get the device pointers set up by the OpenACC data
construct and pass them explicitly to the CUDA kernel.
Note: A possibly non-contiguous array argument is currently not supported. This pass will skip these cases.
---------
Co-authored-by: Yebin Chon <ychon at nvidia.com>
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