func GetDeviceCount() (uint, error) { var n C.uint err := nvmlErr(C.nvmlDeviceGetCount(&n)) return uint(n), err }
func deviceGetCount() (uint, error) { var n C.uint r := C.nvmlDeviceGetCount(&n) return uint(n), errorString(r) }