ソースを参照

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

Nathalie Furmento 8 年 前
コミット
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;