[llvm] [AMDGPU][Offload] Enable memory manager use for up to ~3GB allocation size in omp_target_alloc (PR #151882)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 4 06:47:00 PDT 2025


================
@@ -0,0 +1,37 @@
+// clang-format off
----------------
hidekisaito wrote:

This is a copy of use_after_free_2.c, adjusted for memory pooling. "clang-format off" comes from use_after_free_2.c. I didn't fix use_after_free_2.c on that, and I wanted to maintain as much similarities to the original as possible. So, the change was limited to 1) where they are needed for functionality and 2) where CI's clang-format check flagged. I can change it in the new file, if needed, but if so should I also get rid of the "clang-format off" usage in use_after_free_2.c???

https://github.com/llvm/llvm-project/pull/151882


More information about the llvm-commits mailing list