Function llama_cpp_2::llama_supports_mlock

source ยท
pub fn llama_supports_mlock() -> bool
Expand description

checks if mlock is supported


if llama_supports_mlock() {
  println!("mlock is supported!");
} else {
  println!("mlock is not supported!");
}