[all-commits] [llvm/llvm-project] 9553e1: [libc] Allocate fine-grained memory for the RPC ho...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Dec 1 11:48:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9553e156cb840ba4bc040bbfc1f44dc284a97c86
      https://github.com/llvm/llvm-project/commit/9553e156cb840ba4bc040bbfc1f44dc284a97c86
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2023-12-01 (Fri, 01 Dec 2023)

  Changed paths:
    M libc/utils/gpu/loader/amdgpu/Loader.cpp

  Log Message:
  -----------
  [libc] Allocate fine-grained memory for the RPC host symbol

Summary:
This pointer has been causing issues. Allocating and reading from coarse
memory on the CPU is not guaranteed and varies depending on the kernel
version and support. Previously we attempted to pin the memory but this
caused unexpected failures. This should be a legal operation and work
around the problem as fine-grained memory should be always legal to
write to by both sides.




More information about the All-commits mailing list