Kaynağa Gözat

src/core/workers.h: turn cuda_th_per_stream and cuda_th_per_dev int

Nathalie Furmento 8 yıl önce
ebeveyn
işleme
367ae7dfa2
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      src/core/workers.h

+ 2 - 2
src/core/workers.h

@@ -243,8 +243,8 @@ struct _starpu_machine_topology
 	/* Actual number of CUDA GPUs used by StarPU. */
 	unsigned ncudagpus;
 	unsigned nworkerpercuda;
-	unsigned cuda_th_per_stream;
-	unsigned cuda_th_per_dev;
+	int cuda_th_per_stream;
+	int cuda_th_per_dev;
 
 	/* Actual number of OpenCL workers used by StarPU. */
 	unsigned nopenclgpus;