Merge branch 'master' into concedo_experimental

# Conflicts:
#	README.md
#	ggml-opencl.c
This commit is contained in:
Concedo 2023-05-13 15:51:05 +08:00
commit c9eb2ba1c5
9 changed files with 122 additions and 52 deletions

View file

@ -134,7 +134,7 @@ extern "C" {
// Copies the state to the specified destination address.
// Destination needs to have allocated enough memory.
// Returns the number of bytes copied
LLAMA_API size_t llama_copy_state_data(struct llama_context * ctx, uint8_t * dest);
LLAMA_API size_t llama_copy_state_data(struct llama_context * ctx, uint8_t * dst);
// Set the state reading from the specified address
// Returns the number of bytes read