Function llama_cpp_2::mlock_supported
source · pub fn mlock_supported() -> boolExpand description
is memory locking supported according to llama.cpp
let mlock_supported = mlock_supported();
if mlock_supported {
println!("mlock_supported!");
}