Make ggml-common.h private
This commit is contained in:
parent
1115d2f836
commit
96e09b979d
3 changed files with 8 additions and 3 deletions
|
@ -22,9 +22,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define GGML_COMMON_DECL_C
|
||||
|
||||
#include "../src/ggml-common.h"
|
||||
#include "ggml-backend.h"
|
||||
#include "ggml.h"
|
||||
|
||||
|
|
|
@ -33,6 +33,10 @@
|
|||
#include "ggml-cann/aclnn_ops.h"
|
||||
#include "ggml-cann/common.h"
|
||||
|
||||
#define GGML_COMMON_DECL_C
|
||||
|
||||
#include "ggml-common.h"
|
||||
|
||||
/**
|
||||
* @brief Handles CANN errors by printing an error message and aborting.
|
||||
*
|
||||
|
|
|
@ -55,6 +55,10 @@
|
|||
|
||||
#include "kernels/ascendc_kernels.h"
|
||||
|
||||
#define GGML_COMMON_DECL_C
|
||||
|
||||
#include "../ggml-common.h"
|
||||
|
||||
/**
|
||||
* @brief Repeats elements of a tensor along each dimension according to the
|
||||
* specified repeat array.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue