Browse Source

gemm_helper: Fix multiple variable definitions

Samuel Thibault 5 years ago
parent
commit
ce445c502e
1 changed files with 4 additions and 4 deletions
  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();