use 80% available mem as a conservative estimate
This commit is contained in:
+1
-1
@@ -485,7 +485,7 @@ static uint64_t device_host_physical_memory(bool available) {
|
||||
std::string key;
|
||||
uint64_t kb;
|
||||
iss >> key >> kb;
|
||||
memory = kb * 1024;
|
||||
memory = kb * 1024 * 0.8;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user