[all-commits] [llvm/llvm-project] 026f3c: [libc] Remove CPU dependent AMDGPU instructions (#...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Feb 6 05:22:26 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 026f3c1bbc1fbd9d7c25fc3a97b1c29d7ae7e2b5
https://github.com/llvm/llvm-project/commit/026f3c1bbc1fbd9d7c25fc3a97b1c29d7ae7e2b5
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-02-06 (Tue, 06 Feb 2024)
Changed paths:
M libc/src/__support/GPU/amdgpu/utils.h
M libc/src/math/gpu/vendor/amdgpu/platform.h
Log Message:
-----------
[libc] Remove CPU dependent AMDGPU instructions (#80707)
Summary:
Some recent changes allowed us to remove target level divergence one
these instructions. This patch removes the wavefront dependent
divergence for the ballot and thread ID functions, as well as the clock.
The changes to the "Vendor" library simply disables target specific
optimizations in the implementation. This should be removed in its
entirety when the LLVM `libm` is sufficiently implemented.
The remaining areas of divergence is only the RPC packet size and the
fixed frequency counter.
More information about the All-commits
mailing list