浏览代码

Fix indent

Samuel Thibault 8 年之前
父节点
当前提交
6dbd5add56
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      src/core/topology.c

+ 7 - 7
src/core/topology.c

@@ -1439,19 +1439,19 @@ _starpu_init_machine_config(struct _starpu_machine_config *config, int no_mp_con
 			for (j = 0; j < STARPU_MAXMICDEVS; j++)
 				mic_busy_cpus += (topology->nmiccores[j] ? 1 : 0);
 
-            unsigned mpi_ms_busy_cpus = 0;
+			unsigned mpi_ms_busy_cpus = 0;
 #ifdef STARPU_USE_MPI_MASTER_SLAVE
 #ifdef STARPU_MPI_MASTER_SLAVE_MULTIPLE_THREAD
-            for (j = 0; j < STARPU_MAXMPIDEVS; j++)
-                    mpi_ms_busy_cpus += (topology->nmpicores[j] ? 1 : 0);
+			for (j = 0; j < STARPU_MAXMPIDEVS; j++)
+				mpi_ms_busy_cpus += (topology->nmpicores[j] ? 1 : 0);
 #else
-            mpi_ms_busy_cpus = 1; /* we launch one thread to control all slaves */
+			mpi_ms_busy_cpus = 1; /* we launch one thread to control all slaves */
 #endif
 #endif /* STARPU_USE_MPI_MASTER_SLAVE */
-	    unsigned cuda_busy_cpus = 0;
+			unsigned cuda_busy_cpus = 0;
 #if defined(STARPU_USE_CUDA)
-	    cuda_busy_cpus = th_per_stream ? (nworker_per_cuda * topology->ncudagpus) : 
-		    topology->ncudagpus;
+			cuda_busy_cpus = th_per_stream ? (nworker_per_cuda * topology->ncudagpus) : 
+				topology->ncudagpus;
 #endif
 			unsigned already_busy_cpus = mpi_ms_busy_cpus + mic_busy_cpus 
 				+ cuda_busy_cpus