[all-commits] [llvm/llvm-project] d661ae: [OpenMP] Add support for custom callback in AMDGPU...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Oct 29 10:18:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d661aea4c5668fc9b06f4b26d9fb072b1a6d7ff4
      https://github.com/llvm/llvm-project/commit/d661aea4c5668fc9b06f4b26d9fb072b1a6d7ff4
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-10-29 (Tue, 29 Oct 2024)

  Changed paths:
    M offload/plugins-nextgen/amdgpu/src/rtl.cpp

  Log Message:
  -----------
  [OpenMP] Add support for custom callback in AMDGPUStream (#112785)

Summary:
We have the ability to schedule callbacks after certain events complete.
Currently we can register an arbitrary callback in CUDA, but can't in
AMDGPU. I am planning on using this support to move the RPC handling to
a separate thread, then using these callbacks to suspend / resume it
when no kernels are running. This is a preliminary patch to keep this
noise out of that one.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list