fixed compile error: GGML_BACKEND_TYPE_GPU (+1 squashed commits)

Squashed commits:

[00ca282a] fixed compile error: LLAMA_SPLIT_MODE_ROW
This commit is contained in:
Concedo 2024-02-26 10:49:02 +08:00
parent 3ccaf8e09a
commit d47e13c892
2 changed files with 3 additions and 3 deletions

View file

@ -2863,7 +2863,7 @@ struct llama_model_loader {
bool shouldoffload = (layernum>=0 && clblast_offload_fallback_layers>layernum);
if(shouldoffload)
{
cur->backend = GGML_BACKEND_GPU;
cur->backend = GGML_BACKEND_TYPE_GPU;
ggml_cl_transform_tensor(cur->data, cur);
}
}