[all-commits] [llvm/llvm-project] c167a2: [libc] Fix lane-id utility function not using buil...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Mar 12 08:40:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c167a2588737613558bd7be4c9280603e89281ac
      https://github.com/llvm/llvm-project/commit/c167a2588737613558bd7be4c9280603e89281ac
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

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

  Log Message:
  -----------
  [libc] Fix lane-id utility function not using built-in (#84902)

Summary:
Previously we got the lane-id from taking the global thread ID and
taking off the bottom 5 bits. This works but is inefficient compared to
the NVPTX intrinsic simply dedicated to get this value.



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