“93c1d9e7618173ce1e8dfd41c83a927a2c98e862”上不存在“paddle/fluid/platform/device/gpu/rocm/rocm_helper.h”
x86/smp: Add a per-cpu view of SMT state
A new field smt_active in cpuinfo_x86 identifies if the current core/cpu is in SMT mode or not. This is helpful when the system has some of its cores with threads offlined and can be used for cases where action is taken based on the state of SMT. The upcoming support for paranoid L1D flush will make use of this information. Suggested-by: NThomas Gleixner <tglx@linutronix.de> Signed-off-by: NBalbir Singh <sblbir@amazon.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210108121056.21940-2-sblbir@amazon.com
Showing
想要评论请 注册 或 登录