char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
082b326fc
char/aliceai-t5-moe
1#pragma once 2 3#include "ggml-et-common.h" 4 5#include <cstddef> 6#include <cstdint> 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 12enum ggml_et_memop_type :uint32_t { 13GGML_ET_MEMOP_MEMSET = 0 , 14}; 15 16// Memset operation: fill device memory with a value 17// Returns true on success, false on failure 18bool ggml_et_memset (ggml_backend_et_device_context * dev_ctx ,void * dst_ptr ,uint8_t value ,size_t size );