Skip to content

Commit

Permalink
updated max_devices usize
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusDunn committed Feb 1, 2024
1 parent 63e69ea commit 0d57ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama-cpp-2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pub fn llama_time_us() -> i64 {
/// assert!(max_devices >= 0);
/// ```
#[must_use]
pub fn max_devices() -> c_int {
pub fn max_devices() -> usize {
unsafe { llama_cpp_sys_2::llama_max_devices() }
}

Expand Down

0 comments on commit 0d57ff9

Please sign in to comment.