[all-commits] [llvm/llvm-project] fa34b9: [libc] Add startup code implementation for GPU tar...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Feb 7 09:36:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa34b9e03206b04814dae58f830d883b5f99cb30
      https://github.com/llvm/llvm-project/commit/fa34b9e03206b04814dae58f830d883b5f99cb30
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-02-07 (Tue, 07 Feb 2023)

  Changed paths:
    A libc/startup/gpu/CMakeLists.txt
    A libc/startup/gpu/amdgpu/CMakeLists.txt
    A libc/startup/gpu/amdgpu/start.cpp
    A libc/startup/gpu/nvptx/CMakeLists.txt
    A libc/startup/gpu/nvptx/start.cpp

  Log Message:
  -----------
  [libc] Add startup code implementation for GPU targets

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.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D143212




More information about the All-commits mailing list