cuda : refactor into multiple files (#6269)

This commit is contained in:
slaren 2024-03-25 13:50:23 +01:00 committed by GitHub
parent ad3a0505e3
commit ae1f211ce2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
59 changed files with 9154 additions and 8987 deletions

6
ggml-cuda/binbcast.cuh Normal file
View file

@ -0,0 +1,6 @@
#include "common.cuh"
void ggml_cuda_op_repeat(ggml_backend_cuda_context & ctx, ggml_tensor * dst);
void ggml_cuda_op_add(ggml_backend_cuda_context & ctx, ggml_tensor * dst);
void ggml_cuda_op_mul(ggml_backend_cuda_context & ctx, ggml_tensor * dst);
void ggml_cuda_op_div(ggml_backend_cuda_context & ctx, ggml_tensor * dst);