We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1115d2f commit 96e09b9Copy full SHA for 96e09b9
ggml/include/ggml-cann.h
@@ -22,9 +22,6 @@
22
23
#pragma once
24
25
-#define GGML_COMMON_DECL_C
26
-
27
-#include "../src/ggml-common.h"
28
#include "ggml-backend.h"
29
#include "ggml.h"
30
ggml/src/ggml-cann.cpp
@@ -33,6 +33,10 @@
33
#include "ggml-cann/aclnn_ops.h"
34
#include "ggml-cann/common.h"
35
36
+#define GGML_COMMON_DECL_C
37
+
38
+#include "ggml-common.h"
39
40
/**
41
* @brief Handles CANN errors by printing an error message and aborting.
42
*
ggml/src/ggml-cann/aclnn_ops.cpp
@@ -55,6 +55,10 @@
55
56
#include "kernels/ascendc_kernels.h"
57
58
59
60
+#include "../ggml-common.h"
61
62
63
* @brief Repeats elements of a tensor along each dimension according to the
64
* specified repeat array.
0 commit comments