[libc-commits] [PATCH] D150379: [libc] Implement a generic streaming interface in the RPC

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu May 11 09:33:36 PDT 2023


jhuber6 added a comment.

In D150379#4335274 <https://reviews.llvm.org/D150379#4335274>, @JonChesterfield wrote:

> How does deallocation happen here? I see the lambda using malloc on one path and new on another, but can't find a corresponding free for one of them

The server does a `delete []`. The `malloc` on the GPU is currently a bump pointer so `free` is a no-op.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150379/new/

https://reviews.llvm.org/D150379



More information about the libc-commits mailing list