[all-commits] [llvm/llvm-project] 141763: [flang][cuda] Add CUF allocator (#101216)
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Fri Aug 2 10:02:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1417633943b77365bda70b1ddddd46a0a3c05300
https://github.com/llvm/llvm-project/commit/1417633943b77365bda70b1ddddd46a0a3c05300
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M flang/CMakeLists.txt
A flang/include/flang/Runtime/CUDA/allocator.h
M flang/runtime/CMakeLists.txt
A flang/runtime/CUDA/CMakeLists.txt
A flang/runtime/CUDA/allocator.cpp
M flang/unittests/Runtime/CMakeLists.txt
A flang/unittests/Runtime/CUDA/AllocatorCUF.cpp
A flang/unittests/Runtime/CUDA/CMakeLists.txt
Log Message:
-----------
[flang][cuda] Add CUF allocator (#101216)
Add allocators for CUDA fortran allocation on the device. 3 allocators
are added for pinned, device and managed/unified memory allocation.
`CUFRegisterAllocator()` is called to register the allocators in the
allocator registry added in #100690.
Since this require CUDA, a cmake option `FLANG_CUF_RUNTIME` is added to
conditionally build these.
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