[all-commits] [llvm/llvm-project] 1fce1d: [libc] Use `nvptx_kernel` attribute in NVPTX start...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Mar 24 12:47:17 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fce1d341b17762bb45bdc89520b00820fd63337
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

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

  Log Message:
  [libc] Use `nvptx_kernel` attribute in NVPTX startup code

A recent patch allowed us to emit a callable kernel from freestanding
NVPTX code. This allows us to move away from using the CUDA language.
This has several advantages in that it works around an entire assortment
of errors I was seeing while implementing RPC for Nvidia.

More information about the All-commits mailing list