[all-commits] [llvm/llvm-project] f7b7c6: [libc] Partially implement 'quick_exit' for the GPU

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Feb 22 11:10:31 PST 2023


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

  Changed paths:
    A libc/src/__support/OSUtil/gpu/CMakeLists.txt
    A libc/src/__support/OSUtil/gpu/quick_exit.cpp
    A libc/src/__support/OSUtil/gpu/quick_exit.h
    M libc/src/__support/OSUtil/quick_exit.h

  Log Message:
  -----------
  [libc] Partially implement 'quick_exit' for the GPU

This patch adds a partial implementation of `quick_exit` for the GPU
target. This is mainly done to test object libraries for the GPU and
will be expanded later. This will simply cause the threads to terminate
on the GPU without returning an error code. This functionality will be
added later to facilitate unit tests.

Reviewed By: sivachandra

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




More information about the All-commits mailing list