mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-09 14:29:06 +02:00
24b00db867
This commit introduces semantic versioning to llama.cpp. This is a work in progress to figure out what would work.
12 lines
302 B
C++
12 lines
302 B
C++
#include "llama.h"
|
|
#include <cstdio>
|
|
|
|
int main(void) {
|
|
printf("[test-cmake] Using llama.cpp version %s\n", llama_version());
|
|
printf("[test-cmake] Initializing backend...\n");
|
|
llama_backend_init();
|
|
printf("[test-cmake] Backend initialized.\n");
|
|
llama_backend_free();
|
|
return 0;
|
|
}
|