]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
tests: add gradient tests for all backends (#932)
authorJohannes Gäßler <redacted>
Tue, 3 Sep 2024 15:21:46 +0000 (17:21 +0200)
committerGitHub <redacted>
Tue, 3 Sep 2024 15:21:46 +0000 (17:21 +0200)
commitd02b23d1f9687dc5fd353c77a575ba5eae7d0716
tree05121cae5c74a1769818fafc672fa1eb8cfda309
parentd3a58b079f50b43e3fed852ccffa6b3fb6baac78
tests: add gradient tests for all backends (#932)

* tests: add gradient checking to test-backend-ops

* remove old comment

* reorder includes

* adjust SIN/COS parameters

* add documentation, use supports_op if possible
include/ggml.h
src/ggml-backend.c
src/ggml-cuda.cu
src/ggml-cuda/cross-entropy-loss.cu
src/ggml-cuda/sum.cu [new file with mode: 0644]
src/ggml-cuda/sum.cuh [new file with mode: 0644]
src/ggml-cuda/unary.cu
src/ggml-cuda/unary.cuh
src/ggml.c
tests/test-backend-ops.cpp