mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-06 04:49:02 +00:00
use 80% available mem as a conservative estimate
This commit is contained in:
parent
64089236eb
commit
ec73e239c9
1 changed files with 1 additions and 1 deletions
|
@ -485,7 +485,7 @@ static uint64_t device_host_physical_memory(bool available) {
|
||||||
std::string key;
|
std::string key;
|
||||||
uint64_t kb;
|
uint64_t kb;
|
||||||
iss >> key >> kb;
|
iss >> key >> kb;
|
||||||
memory = kb * 1024;
|
memory = kb * 1024 * 0.8;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue