zhangmeng
2019-07-11 62043b0708651e9cf55559c74c7eac2da9480ea5
update
1个文件已修改
2 ■■■ 已修改文件
gogpu.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
gogpu.go
@@ -26,7 +26,7 @@
// SatisfyGPU satisfy unit "M"
func SatisfyGPU(index, memSize, reserve int) bool {
    info, err := Info()
    if err != nil || info.Count >= index {
    if err != nil || info.Count <= index {
        fmt.Println("SatisfyGPU no gpu or index ilegal: ", index, " gpu count : ", info.Count)
        return false
    }