mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-16 20:09:41 +00:00
use same struct size for cuda and non cuda (+1 squashed commits)
Squashed commits: [6eee8e2f] use same struct size for cuda and non cuda
This commit is contained in:
parent
94e68fe474
commit
e49d398f73
2 changed files with 4 additions and 3 deletions
5
llama.h
5
llama.h
|
@ -4,9 +4,10 @@
|
|||
#include "ggml.h"
|
||||
#ifdef GGML_USE_CUBLAS
|
||||
#include "ggml-cuda.h"
|
||||
#define LLAMA_MAX_DEVICES GGML_CUDA_MAX_DEVICES
|
||||
#define LLAMA_MAX_DEVICES 16
|
||||
#else
|
||||
#define LLAMA_MAX_DEVICES 1
|
||||
//just max it out, same as GGML_CUDA_MAX_DEVICES
|
||||
#define LLAMA_MAX_DEVICES 16
|
||||
#endif // GGML_USE_CUBLAS
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue