Skip to content

Commit

Permalink
Update web
Browse files Browse the repository at this point in the history
- fix loading message on linux w/AMD (issue #645 )
  • Loading branch information
RainbowMiner committed Aug 25, 2019
1 parent 9019619 commit ae2903e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/index.html
Expand Up @@ -363,13 +363,15 @@ <h5>{{name}}</h5>
item.tDriverVersion = "N/A"
}

if (typeof item.Data === "undefined") { item.Data = new Array(); }
if (typeof item.DataMax === "undefined") { item.DataMax = new Array(); }

if (item.OpenCL) {
item.tClockSpeed = item.OpenCL.MaxClockFrequency
item.tCores = item.OpenCL.MaxComputeUnits
} else if (item.CIM) {
item.tClockSpeed = item.CIM.MaxClockSpeed
item.tCores = item.CIM.NumberOfLogicalProcessors
item.tPowerDraw = item.Data.PowerDraw
} else {
item.tClockSpeed = "N/A"
item.tCores = "N/A"
Expand Down

0 comments on commit ae2903e

Please sign in to comment.