mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-08-27 15:40:50 +02: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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user