]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Add support for sqrt on CUDA (#7953)
authorCalvin Laurenson <redacted>
Sun, 16 Jun 2024 22:23:04 +0000 (15:23 -0700)
committerGitHub <redacted>
Sun, 16 Jun 2024 22:23:04 +0000 (00:23 +0200)
commit43b35e38ba371f9a7faa6dca4c5d1e8f698ffd87
tree11f250899027f3249c9ee15ffaff2048c9b81268
parent19b7a836f6658e18e973af532a5cc6ad6b3a27f8
Add support for sqrt on CUDA (#7953)

* cuda sqrt support

* enable cuda in pca

* fix comments in pca

* add test

* add sqrt to ggml_backend_cuda_supports_op

* fix test

* new line

* Use F32 sqrtf instead of F64 sqrt

Co-authored-by: Johannes Gäßler <redacted>
---------

Co-authored-by: Johannes Gäßler <redacted>
examples/cvector-generator/pca.hpp
ggml-cuda.cu
ggml-cuda/unary.cu
ggml-cuda/unary.cuh
tests/test-backend-ops.cpp