[llvm-branch-commits] [flang] [flang][cuda] Add CUF allocator (PR #101216)

2024-07-30 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
https://github.com/clementval updated https://github.com/llvm/llvm-project/pull/101216 >From 825e6efbbe20041b2b1591617f32abc12a0b42ff Mon Sep 17 00:00:00 2001 From: Valentin Clement Date: Fri, 12 Jul 2024 15:20:12 -0700 Subject: [PATCH 1/4] [flang][cuda] Add CUF allocator --- flang/CMakeLists

[llvm-branch-commits] [flang] [flang][cuda] Add CUF allocator (PR #101216)

2024-07-30 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
@@ -0,0 +1,18 @@ +#===-- runtime/CUDA/CMakeLists.txt -===# +# +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2

[llvm-branch-commits] [flang] [flang][cuda] Add CUF allocator (PR #101216)

2024-07-30 Thread Slava Zakharin via llvm-branch-commits
@@ -0,0 +1,18 @@ +#===-- runtime/CUDA/CMakeLists.txt -===# +# +# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +# See https://llvm.org/LICENSE.txt for license information. +# SPDX-License-Identifier: Apache-2

[llvm-branch-commits] [flang] [flang][cuda] Add CUF allocator (PR #101216)

2024-07-30 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
https://github.com/clementval updated https://github.com/llvm/llvm-project/pull/101216 >From 825e6efbbe20041b2b1591617f32abc12a0b42ff Mon Sep 17 00:00:00 2001 From: Valentin Clement Date: Fri, 12 Jul 2024 15:20:12 -0700 Subject: [PATCH 1/3] [flang][cuda] Add CUF allocator --- flang/CMakeLists

[llvm-branch-commits] [flang] [flang][cuda] Add CUF allocator (PR #101216)

2024-07-30 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
https://github.com/clementval updated https://github.com/llvm/llvm-project/pull/101216 >From 825e6efbbe20041b2b1591617f32abc12a0b42ff Mon Sep 17 00:00:00 2001 From: Valentin Clement Date: Fri, 12 Jul 2024 15:20:12 -0700 Subject: [PATCH 1/2] [flang][cuda] Add CUF allocator --- flang/CMakeLists

[llvm-branch-commits] [flang] [flang][cuda] Add CUF allocator (PR #101216)

2024-07-30 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
@@ -0,0 +1,43 @@ +//===-- include/flang/Runtime/CUDA/allocator.h --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[llvm-branch-commits] [flang] [flang][cuda] Add CUF allocator (PR #101216)

2024-07-30 Thread Slava Zakharin via llvm-branch-commits
https://github.com/vzakhari edited https://github.com/llvm/llvm-project/pull/101216 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang][cuda] Add CUF allocator (PR #101216)

2024-07-30 Thread Slava Zakharin via llvm-branch-commits
https://github.com/vzakhari approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/101216 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang][cuda] Add CUF allocator (PR #101216)

2024-07-30 Thread Slava Zakharin via llvm-branch-commits
@@ -0,0 +1,43 @@ +//===-- include/flang/Runtime/CUDA/allocator.h --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[llvm-branch-commits] [flang] [flang][cuda] Add CUF allocator (PR #101216)

2024-07-30 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-runtime Author: Valentin Clement (バレンタイン クレメン) (clementval) Changes 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 r

[llvm-branch-commits] [flang] [flang][cuda] Add CUF allocator (PR #101216)

2024-07-30 Thread Valentin Clement バレンタイン クレメン via llvm-branch-commits
https://github.com/clementval created https://github.com/llvm/llvm-project/pull/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