]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
fix memcpy() crash, add missed cmd in guide, fix softmax (#6622)
authorNeo Zhang Jianyu <redacted>
Sun, 14 Apr 2024 02:42:29 +0000 (10:42 +0800)
committerGitHub <redacted>
Sun, 14 Apr 2024 02:42:29 +0000 (10:42 +0800)
commitde17e3f7455dc7fd298cc61d86798533b9ca7a29
tree65595beccf54a5db5a31c3dff5fd0b519c75b275
parentb5e7285baffb0da8a6619567b52d8e67de41291d
fix memcpy() crash, add missed cmd in guide, fix softmax (#6622)

* disable mmap to fix memcpy crash, add missed cmd in guide, fix softmax

* refactor to disable mmap for SYCL backend

* fix compile error in other os

* refactor the solution, use host buf to fix it, instead of disable mmap

* keep to support mmap()

* use host buff to reduce malloc times

* revert to malloc/free solution, for threaad safe
README-sycl.md
examples/sycl/build.sh
examples/sycl/run-llama2.sh
ggml-sycl.cpp