Fixed compile error
This commit is contained in:
parent
339bc36cdd
commit
9d643755a6
1 changed files with 4 additions and 3 deletions
|
@ -1,15 +1,16 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <cstddef>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
#include <cstddef>
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#else
|
||||||
|
#include <stddef.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct ggml_kompute_context;
|
struct ggml_kompute_context;
|
||||||
|
|
||||||
|
|
||||||
ggml_kompute_context * ggml_vk_init(void);
|
struct ggml_kompute_context * ggml_vk_init(void);
|
||||||
void ggml_metal_free(struct ggml_kompute_context * ctx);
|
void ggml_metal_free(struct ggml_kompute_context * ctx);
|
||||||
|
|
||||||
// creates a mapping between a host memory buffer and a device memory buffer
|
// creates a mapping between a host memory buffer and a device memory buffer
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue