mirror-llvm-project/flang/lib/Optimizer/OpenACC
yebinchon 21d9869c20
[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@nvidia.com>
2026-07-30 14:06:28 -07:00
..
Analysis [mlir][acc][flang] Add type sizing utilities (#208074) 2026-07-07 20:10:22 +00:00
Support [Flang] Return APInt from getIntIfConstant (#211233) 2026-07-22 17:35:07 +01:00
Transforms [flang] Add a pass to get OpenACC device ptr for CUDA kernel (#212299) 2026-07-30 14:06:28 -07:00
CMakeLists.txt [flang][acc] Add infrastructure and tests for ACCImplicitData (#166797) 2025-11-06 20:46:20 +00:00