mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 06:15:08 +00:00
Added experimental support for AMD family 19h (Zen 3) CPUs.
This commit is contained in:
@@ -55,7 +55,7 @@ dotnet_naming_style.pascal_case_style.capitalization = pascal_case
|
||||
# Code style defaults
|
||||
csharp_using_directive_placement = outside_namespace:suggestion
|
||||
dotnet_sort_system_directives_first = true
|
||||
csharp_prefer_braces = true:refactoring
|
||||
csharp_prefer_braces = when_multiline:suggestion
|
||||
csharp_preserve_single_line_blocks = true:none
|
||||
csharp_preserve_single_line_statements = false:none
|
||||
csharp_prefer_static_local_function = true:suggestion
|
||||
|
@@ -112,6 +112,7 @@ namespace OpenHardwareMonitor.Hardware.CPU {
|
||||
hardware.Add(new AMD10CPU(index, coreThreads, settings));
|
||||
break;
|
||||
case 0x17:
|
||||
case 0x19:
|
||||
hardware.Add(new AMD17CPU(index, coreThreads, settings));
|
||||
break;
|
||||
default:
|
||||
|
@@ -168,6 +168,7 @@ namespace OpenHardwareMonitor.Hardware.CPU {
|
||||
nameBuilder.Replace("with Radeon Vega Mobile Gfx", "");
|
||||
nameBuilder.Replace("w/ Radeon Vega Mobile Gfx", "");
|
||||
nameBuilder.Replace("with Radeon Vega Graphics", "");
|
||||
nameBuilder.Replace("with Radeon Graphics", "");
|
||||
nameBuilder.Replace("APU with Radeon(tm) HD Graphics", "");
|
||||
nameBuilder.Replace("APU with Radeon(TM) HD Graphics", "");
|
||||
nameBuilder.Replace("APU with AMD Radeon R2 Graphics", "");
|
||||
@@ -220,7 +221,7 @@ namespace OpenHardwareMonitor.Hardware.CPU {
|
||||
coreMaskWith = NextLog2(maxCoreIdPerPackage);
|
||||
break;
|
||||
case Vendor.AMD:
|
||||
if (this.family == 0x17) {
|
||||
if (this.family == 0x17 || this.family == 0x19) {
|
||||
coreMaskWith = (cpuidExtData[8, 2] >> 12) & 0xF;
|
||||
threadMaskWith =
|
||||
NextLog2(((cpuidExtData[0x1E, 1] >> 8) & 0xFF) + 1);
|
||||
|
@@ -10,5 +10,5 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.9.5.0")]
|
||||
[assembly: AssemblyInformationalVersion("0.9.5")]
|
||||
[assembly: AssemblyVersion("0.9.6.0")]
|
||||
[assembly: AssemblyInformationalVersion("0.9.6")]
|
||||
|
Reference in New Issue
Block a user