Fix variable name
This commit is contained in:
parent
f7e40b587f
commit
0d277d32db
|
|
@ -440,7 +440,7 @@ func GetGPUInfo() GpuInfoList {
|
||||||
gpuInfo.ID = C.GoString(&memInfo.gpu_id[0])
|
gpuInfo.ID = C.GoString(&memInfo.gpu_id[0])
|
||||||
gpuInfo.Compute = fmt.Sprintf("%d.%d", memInfo.major, memInfo.minor)
|
gpuInfo.Compute = fmt.Sprintf("%d.%d", memInfo.major, memInfo.minor)
|
||||||
gpuInfo.MinimumMemory = 0
|
gpuInfo.MinimumMemory = 0
|
||||||
gpuInfo.DependencyPath = depPath
|
gpuInfo.DependencyPath = depPaths
|
||||||
gpuInfo.Name = C.GoString(&memInfo.gpu_name[0])
|
gpuInfo.Name = C.GoString(&memInfo.gpu_name[0])
|
||||||
gpuInfo.DriverMajor = int(memInfo.major)
|
gpuInfo.DriverMajor = int(memInfo.major)
|
||||||
gpuInfo.DriverMinor = int(memInfo.minor)
|
gpuInfo.DriverMinor = int(memInfo.minor)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue