[libc-commits] [libc] [libc] Efficiently implement 'realloc' for AMDGPU devices (PR #145960)
Matt Arsenault via libc-commits
libc-commits at lists.llvm.org
Fri Jun 27 18:43:02 PDT 2025
================
@@ -550,5 +551,26 @@ void deallocate(void *ptr) {
release_slab(slab);
}
+void *reallocate(void *ptr, uint64_t size) {
----------------
arsenm wrote:
I don't see how that's a plus, just use size_t everywhere
https://github.com/llvm/llvm-project/pull/145960
More information about the libc-commits
mailing list