]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
vulkan: add dryrun support to sin and cos ops (#947)
authorSalvatore Mesoraca <redacted>
Fri, 6 Sep 2024 12:34:25 +0000 (14:34 +0200)
committerGitHub <redacted>
Fri, 6 Sep 2024 12:34:25 +0000 (14:34 +0200)
commit25cda628c9f1663679dc5bfa78cedba1156345bf
tree10b1f86adc4d8ab5a5eb84b6d3497a6ccb6abb9d
parentec8261a4f1c450ba5535e710633064768dec390a
vulkan: add dryrun support to sin and cos ops (#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>
src/ggml-vulkan.cpp