Переглянути джерело

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

Nathalie Furmento 9 роки тому
батько
коміт
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;