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-sycl/mem.hpp # 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-sycl / mem.hpp` 16 lines ยท 354 bytes Raw Blame History 1 #ifndef GGML_SYCL_MEM_HPP 2 #define GGML_SYCL_MEM_HPP 3 4 #include 5 6 enum MemoryAPIType { 7 MEMORY_API_TYPE_LEVEL_ZERO = 0, 8 MEMORY_API_TYPE_SYCL = 1, 9 }; 10 11 const char* mem_api_int2str(int mem_api); 12 13 bool get_memory_size(sycl::device dev, size_t & free_bytes, size_t & total_bytes, 14 MemoryAPIType api_type); 15 16 #endif // GGML_SYCL_MEM_HPP