@@ -181,6 +181,8 @@ template void custom_max_c<int>(
181
181
template <typename _DataType, typename _ResultType>
182
182
void custom_mean_c (void * array1_in, void * result1, const size_t * shape, size_t ndim, const size_t * axis, size_t naxis)
183
183
{
184
+ __attribute__ ((unused)) void * tmp = (void *)(axis + naxis);
185
+
184
186
_ResultType* result = reinterpret_cast <_ResultType*>(result1);
185
187
186
188
size_t size = 1 ;
@@ -214,6 +216,8 @@ template void custom_mean_c<int, double>(
214
216
template <typename _DataType, typename _ResultType>
215
217
void custom_median_c (void * array1_in, void * result1, const size_t * shape, size_t ndim, const size_t * axis, size_t naxis)
216
218
{
219
+ __attribute__ ((unused)) void * tmp = (void *)(axis + naxis);
220
+
217
221
_ResultType* result = reinterpret_cast <_ResultType*>(result1);
218
222
219
223
size_t size = 1 ;
@@ -257,6 +261,8 @@ class custom_min_c_kernel;
257
261
template <typename _DataType>
258
262
void custom_min_c (void * array1_in, void * result1, const size_t * shape, size_t ndim, const size_t * axis, size_t naxis)
259
263
{
264
+ __attribute__ ((unused)) void * tmp = (void *)(axis + naxis);
265
+
260
266
_DataType* array_1 = reinterpret_cast <_DataType*>(array1_in);
261
267
_DataType* result = reinterpret_cast <_DataType*>(result1);
262
268
0 commit comments