Просмотр исходного кода

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

Nathalie Furmento лет назад: 8
Родитель
Сommit
367ae7dfa2
1 измененных файлов с 2 добавлено и 2 удалено
  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;