Explorar o código

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

Nathalie Furmento %!s(int64=8) %!d(string=hai) anos
pai
achega
367ae7dfa2
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;