[PATCH] D98606: [NVPTX] CUDA does provide malloc/free since compute capability 2.X

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 15 12:59:38 PDT 2021


tra added a comment.

In D98606#2627001 <https://reviews.llvm.org/D98606#2627001>, @jdoerfert wrote:

> In D98606#2626735 <https://reviews.llvm.org/D98606#2626735>, @tra wrote:
>
>> Tests? NVPTX used to have issues lowering libcalls at all. It would be great to verify that it works now.
>
> We use malloc in the OpenMP runtime, it works, albeit slow. Where do I put a test for this?

test/CodeGen/NVPTX/libcall-fulfilled.ll might be a good place.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98606



More information about the llvm-commits mailing list