]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
vulkan: add dryrun support to sin and cos ops (ggml/947)
authorSalvatore Mesoraca <redacted>
Fri, 6 Sep 2024 12:34:25 +0000 (14:34 +0200)
committerGeorgi Gerganov <redacted>
Sun, 8 Sep 2024 08:05:55 +0000 (11:05 +0300)
commit406c1a32a18807b9b5711aa2fa1859527106bc1d
tree177eeeca026be97ed2030be0af00fe45e63fb37f
parent9cb9260861e464e40d38764cfb021856786c7202
vulkan: add dryrun support to sin and cos ops (ggml/947)

sin and cos failed test-backend-ops because they
tried to dereference a context pointer that is null
on dry runs.

This commit prevents that segfault.

Signed-off-by: Salvatore Mesoraca <redacted>
ggml/src/ggml-vulkan.cpp