fix trailing whitespace
This commit is contained in:
parent
48db724bc7
commit
1f98dff7a9
1 changed files with 1 additions and 1 deletions
|
@ -1897,7 +1897,7 @@ ggml_backend_buffer_type_t ggml_backend_kompute_buffer_type(int device) {
|
||||||
return vec;
|
return vec;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
auto it = std::find_if(bufts.begin(), bufts.end(), [device](const ggml_backend_buffer_type & t) {
|
auto it = std::find_if(bufts.begin(), bufts.end(), [device](const ggml_backend_buffer_type & t) {
|
||||||
return device == static_cast<ggml_backend_kompute_buffer_type_context *>(t.context)->device;
|
return device == static_cast<ggml_backend_kompute_buffer_type_context *>(t.context)->device;
|
||||||
});
|
});
|
||||||
return it < bufts.end() ? &*it : nullptr;
|
return it < bufts.end() ? &*it : nullptr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue