We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52322a5 commit dec22a7Copy full SHA for dec22a7
ggml-cuda.cu
@@ -12,9 +12,6 @@
12
#include <vector>
13
#include <map>
14
#include <array>
15
-#include "ggml-cuda.h"
16
-#include "ggml.h"
17
-#include "ggml-backend-impl.h"
18
19
#if defined(GGML_USE_HIPBLAS)
20
#include <hip/hip_runtime.h>
@@ -118,6 +115,11 @@
118
115
119
116
#endif // defined(GGML_USE_HIPBLAS)
120
117
+// ggml-cuda need half type so keep ggml headers include at last
+#include "ggml-cuda.h"
+#include "ggml.h"
121
+#include "ggml-backend-impl.h"
122
+
123
#define CUDART_HMAX 11070 // CUDA 11.7, min. ver. for which __hmax and __hmax2 are known to work (may be higher than needed)
124
125
#define CC_PASCAL 600
0 commit comments