[libc-commits] [PATCH] D143212: [libc] Add startup code implementation for GPU targets

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Feb 2 12:53:20 PST 2023


jhuber6 created this revision.
jhuber6 added reviewers: michaelrj, lntue, sivachandra, tra.
Herald added subscribers: libc-commits, kosarev, mattd, asavonic, ecnelises, kerbowa, tschuett, jvesely.
Herald added projects: libc-project, All.
jhuber6 requested review of this revision.

This patch introduces startup code for executing `main` on a device
compiled for the GPU. We will primarily use this to run standalone
integration tests on the GPU. The actual execution of this routine will
need to be provided by a `loader` utility to bootstrap execution on the
GPU.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143212

Files:
  libc/startup/gpu/CMakeLists.txt
  libc/startup/gpu/amdgpu/CMakeLists.txt
  libc/startup/gpu/amdgpu/start.cpp
  libc/startup/gpu/nvptx/CMakeLists.txt
  libc/startup/gpu/nvptx/start.cpp
  libc/startup/linux/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143212.494418.patch
Type: text/x-patch
Size: 5191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230202/e1486691/attachment.bin>


More information about the libc-commits mailing list