]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
CLBlast: Fix handling of on-device tensor data
authorshibe2 <redacted>
Thu, 5 Oct 2023 11:57:03 +0000 (15:57 +0400)
committershibe2 <redacted>
Thu, 5 Oct 2023 14:25:23 +0000 (18:25 +0400)
commite2583cbc29cd7d6d1403f338842c07dfc0467e6c
tree455a2cffc979a7230eac6c18da1c5941cd525bbe
parente8b8d32e8663ffc55a02c9721af3a5190382cbb0
CLBlast: Fix handling of on-device tensor data

Fix uploading tensor data to device, including 3D, 4D, and non-contiguous tensors.
Use correct offsets into data that is already in VRAM.
Correct handling of OpenCL events when multiple commands are queued.
ggml-opencl.cpp