Skip to content

Commit 7f04d39

Browse files
authored
Merge pull request #56 from utilityai/update-llama-cpp-2024-02-01
updated llama.cpp
2 parents e69c46c + 0d57ff9 commit 7f04d39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llama-cpp-2/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ pub fn llama_time_us() -> i64 {
115115
/// assert!(max_devices >= 0);
116116
/// ```
117117
#[must_use]
118-
pub fn max_devices() -> c_int {
118+
pub fn max_devices() -> usize {
119119
unsafe { llama_cpp_sys_2::llama_max_devices() }
120120
}
121121

llama-cpp-sys-2/llama.cpp

0 commit comments

Comments
 (0)