Function llama_cpp_2::llama_supports_mlock
source · pub fn llama_supports_mlock() -> boolExpand description
checks if mlock is supported
if llama_supports_mlock() {
println!("mlock is supported!");
} else {
println!("mlock is not supported!");
}