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 bdca383 commit cbc68beCopy full SHA for cbc68be
ggml/src/ggml-cuda/set-rows.cu
@@ -3,7 +3,10 @@
3
typedef void (*set_rows_kernel_t)(const char * src, char * dst);
4
5
template<typename src_t, typename dst_t>
6
-__device__ void set_rows_1(const src_t * src_f, dst_t * dst_f) {}
+__device__ void set_rows_1(const src_t * src_f, dst_t * dst_f) {
7
+ GGML_UNUSED(src_f);
8
+ GGML_UNUSED(dst_f);
9
+}
10
11
template<>
12
__device__ __forceinline__ void set_rows_1<float, half>(const float * src_f, half * dst_h) {
@@ -53,6 +56,9 @@ static __global__ void k_set_rows(
53
56
const src_t* src_elem = src0_row + i00;
54
57
dst_t* dst_elem = dst_row_ptr + i00;
55
58
set_rows_1(src_elem, dst_elem);
59
+
60
+ GGML_UNUSED(ne10);
61
+ GGML_UNUSED(ne13);
62
}
63
64
0 commit comments