浏览代码

gemm_helper: Fix multiple variable definitions

Samuel Thibault 5 年之前
父节点
当前提交
ce445c502e
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      mpi/tests/gemm_helper.h

+ 4 - 4
mpi/tests/gemm_helper.h

@@ -19,10 +19,10 @@
 
 #include <starpu_config.h>
 
-unsigned nslices;
-unsigned matrix_dim;
-unsigned check;
-int comm_thread_cpuid;
+extern unsigned nslices;
+extern unsigned matrix_dim;
+extern unsigned check;
+extern int comm_thread_cpuid;
 
 
 void gemm_alloc_data();