[all-commits] [llvm/llvm-project] bae46d: [libc][Obvious] Correctly initialize the default c...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Fri Dec 29 12:17:48 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bae46d14eb664493f7da445bab131241b7421a8c
https://github.com/llvm/llvm-project/commit/bae46d14eb664493f7da445bab131241b7421a8c
Author: Joseph Huber <huberjn at outlook.com>
Date: 2023-12-29 (Fri, 29 Dec 2023)
Changed paths:
M libc/src/time/gpu/time_utils.h
Log Message:
-----------
[libc][Obvious] Correctly initialize the default clock frequency (#76582)
Summary:
The AMDGPU architecture does not use a fixed frequency for all of its
architectures. However, the newer GPUs tend to have one that's
consistent between them (Except for Vega10). This was set up but not
actually used, so the implementation was just defaulting to whatever
value the global was being set to. Fix.
More information about the All-commits
mailing list