[all-commits] [llvm/llvm-project] 688019: [libc][NFC] Factor GPU exiting into a common funct...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Sep 12 12:59:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 688019851e696f13ce4701fc9a8ec3e116221288
      https://github.com/llvm/llvm-project/commit/688019851e696f13ce4701fc9a8ec3e116221288
  Author: Joseph Huber <35342157+jhuber6 at users.noreply.github.com>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

  Changed paths:
    M libc/src/__support/GPU/amdgpu/utils.h
    M libc/src/__support/GPU/generic/utils.h
    M libc/src/__support/GPU/nvptx/utils.h
    M libc/src/__support/OSUtil/gpu/quick_exit.cpp
    M libc/src/assert/gpu/__assert_fail.cpp
    M libc/src/stdlib/gpu/abort.cpp

  Log Message:
  -----------
  [libc][NFC] Factor GPU exiting into a common function (#66093)

Summary:
We currently call the GPU routine to terminate the current thread in
three separate locations .This should be wrapped into a helper function
to simplify the implementation.




More information about the All-commits mailing list