Attempt clang-tidy fix

This commit is contained in:
JohannesGaessler 2023-05-20 14:07:46 +02:00
parent b81f662e9d
commit fadcd583fc

View file

@ -1018,7 +1018,7 @@ static void llama_model_load_internal(
// "output" tensor
{
ggml_backend backend_output;
if (n_gpu_layers > int(n_layer)) {
if (n_gpu_layers > int(n_layer)) { // NOLINT
backend_output = LLAMA_BACKEND_OFFLOAD;
} else {
backend_output = GGML_BACKEND_CPU;