summaryrefslogtreecommitdiff
path: root/llama.cpp/ggml/src/ggml-cuda/scale.cuh
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp/ggml/src/ggml-cuda/scale.cuh')
-rw-r--r--llama.cpp/ggml/src/ggml-cuda/scale.cuh5
1 files changed, 5 insertions, 0 deletions
diff --git a/llama.cpp/ggml/src/ggml-cuda/scale.cuh b/llama.cpp/ggml/src/ggml-cuda/scale.cuh
new file mode 100644
index 0000000..8ff75c8
--- /dev/null
+++ b/llama.cpp/ggml/src/ggml-cuda/scale.cuh
@@ -0,0 +1,5 @@
+#include "common.cuh"
+
+#define CUDA_SCALE_BLOCK_SIZE 256
+
+void ggml_cuda_op_scale(ggml_backend_cuda_context & ctx, ggml_tensor * dst);