Преглед изворни кода

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();