1
0

ggml-webgpu.h 328 B

12345678910111213141516171819
  1. #pragma once
  2. #include "ggml.h"
  3. #include "ggml-backend.h"
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #define GGML_WEBGPU_NAME "WebGPU"
  8. // Needed for examples in ggml
  9. GGML_BACKEND_API ggml_backend_t ggml_backend_webgpu_init(void);
  10. GGML_BACKEND_API ggml_backend_reg_t ggml_backend_webgpu_reg(void);
  11. #ifdef __cplusplus
  12. }
  13. #endif