浏览代码

fix error

HE Kun 4 年之前
父节点
当前提交
01f1417f2d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/filters/shadow4d.c

+ 1 - 1
examples/filters/shadow4d.c

@@ -108,7 +108,7 @@ void cuda_func(void *buffers[], void *cl_arg)
         /* local copy of the destination matrix pointer */
         int *val2 = (int *)STARPU_TENSOR_GET_PTR(buffers[1]);
 
-    unsigned l;
+    unsigned k, l;
     cudaError_t cures;
 
     /* If things go right, sizes should match */