mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-30 21:34:36 +00:00
81844fbcfd
* fix hellaswag print format, cast away warning in test-double-float * c++11 cannot use designated initializers * add static to test-grad0.c internal functions * use memcpy in test-double-float.c * port c tests to c++ * use initializer list for ggml_init_params
15 lines
597 B
Bash
Executable File
15 lines
597 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cp -rpv ../ggml/src/ggml.c ./ggml.c
|
|
cp -rpv ../ggml/src/ggml-cuda.h ./ggml-cuda.h
|
|
cp -rpv ../ggml/src/ggml-cuda.cu ./ggml-cuda.cu
|
|
cp -rpv ../ggml/src/ggml-opencl.h ./ggml-opencl.h
|
|
cp -rpv ../ggml/src/ggml-opencl.cpp ./ggml-opencl.cpp
|
|
cp -rpv ../ggml/src/ggml-metal.h ./ggml-metal.h
|
|
cp -rpv ../ggml/src/ggml-metal.m ./ggml-metal.m
|
|
cp -rpv ../ggml/src/ggml-metal.metal ./ggml-metal.metal
|
|
cp -rpv ../ggml/include/ggml/ggml.h ./ggml.h
|
|
|
|
cp -rpv ../ggml/tests/test-opt.cpp ./tests/test-opt.cpp
|
|
cp -rpv ../ggml/tests/test-grad0.cpp ./tests/test-grad0.cpp
|