Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/ggml/blob/master/src/ggml-et/ggml-et-memops.h # ggml [Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685) Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `ggml / src / ggml-et / ggml-et-memops.h` 18 lines ยท 526 bytes Raw Blame History 1 #pragma once 2 3 #include "ggml-et-common.h" 4 5 #include 6 #include 7 8 // Memory operations using device kernel (memops.elf) 9 // Single kernel handles multiple operations via operation identifier 10 11 // Operation identifiers for memops kernel 12 enum ggml_et_memop_type : uint32_t { 13 GGML_ET_MEMOP_MEMSET = 0, 14 }; 15 16 // Memset operation: fill device memory with a value 17 // Returns true on success, false on failure 18 bool ggml_et_memset(ggml_backend_et_device_context * dev_ctx, void * dst_ptr, uint8_t value, size_t size);