Add main.cpp back and invoke "run" from it

Signed-off-by: Thiago Padilha <thiago@padilha.cc>
This commit is contained in:
Thiago Padilha
2023-03-22 09:16:33 -03:00
parent 90175ee13f
commit d7d53b84db
5 changed files with 17 additions and 4 deletions

View File

@@ -154,7 +154,7 @@ void sigint_handler(int signo) {
}
#endif
int main(int argc, char ** argv) {
int run(int argc, char ** argv) {
// has to be called once at the start of the program to init ggml stuff
ggml_time_init();