feat: add OpenCL backend support (#680)

This commit is contained in:
rmatif
2025-06-30 17:32:23 +02:00
committed by GitHub
parent 0d8b39f0ba
commit d42fd59464
10 changed files with 102 additions and 7 deletions

View File

@@ -26,6 +26,10 @@
#include "ggml-vulkan.h"
#endif
#ifdef SD_USE_OPENCL
#include "ggml-opencl.h"
#endif
#define ST_HEADER_SIZE_LEN 8
uint64_t read_u64(uint8_t* buffer) {