[all-commits] [llvm/llvm-project] fb3f4b: [libc] Add memory fence utility to the GPU utiliti...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri May 10 14:38:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb3f4b013c3acab0ea3cb14c4d29f4e6d9caa33c
      https://github.com/llvm/llvm-project/commit/fb3f4b013c3acab0ea3cb14c4d29f4e6d9caa33c
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-05-10 (Fri, 10 May 2024)

  Changed paths:
    M libc/src/__support/GPU/amdgpu/utils.h
    M libc/src/__support/GPU/nvptx/utils.h

  Log Message:
  -----------
  [libc] Add memory fence utility to the GPU utilities (#91756)

Summary:
GPUs like to execute instructions in the background until something
excplitely consumes them. We are working on adding some
microbenchmarking code, which requires flushing the pending memory
operations beforehand. This patch simply adds these utility functions
that will be used in the near future.



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