]> git.djapps.eu Git - pkg/ggml/sources/whisper.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>
Tue, 24 Sep 2024 16:45:08 +0000 (19:45 +0300)
commit6b7f37dd5c324530e431649ac35f25a0bb694fc2
tree454e97e1bdc5c4accc49580992d0e0e3a86ad67f
parent791812fb5457266ee1fada1d23accfd8dc507aef
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