diff options
author | slaren <slarengh@gmail.com> | 2023-12-14 20:05:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-14 20:05:21 +0100 |
commit | 6744dbe924a317e3e2a5a2a4a2037061b2223449 (patch) | |
tree | 5eb37829f6ce586c06b6bae38516e2a6cbc992cc /ggml.h | |
parent | cafcd4f89500b8afef722cdb08088eceb8a22572 (diff) |
ggml : use ggml_row_size where possible (#4472)
* ggml : use ggml_row_size where possible
ggml-ci
* ggml : move ggml_nbytes_split to ggml-cuda.cu
Diffstat (limited to 'ggml.h')
-rw-r--r-- | ggml.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -638,7 +638,6 @@ extern "C" { GGML_API int64_t ggml_nrows (const struct ggml_tensor * tensor); GGML_API size_t ggml_nbytes (const struct ggml_tensor * tensor); GGML_API size_t ggml_nbytes_pad (const struct ggml_tensor * tensor); // same as ggml_nbytes() but padded to GGML_MEM_ALIGN - GGML_API size_t ggml_nbytes_split(const struct ggml_tensor * tensor, int nrows_split); GGML_API int ggml_blck_size(enum ggml_type type); GGML_API size_t ggml_type_size(enum ggml_type type); // size in bytes for all elements in a block |