Samuel Thibault 11 gadi atpakaļ
vecāks
revīzija
28308c10be
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/drivers/cuda/driver_cuda.c

+ 1 - 1
src/drivers/cuda/driver_cuda.c

@@ -46,7 +46,7 @@ static cudaStream_t out_transfer_streams[STARPU_NMAXWORKERS];
 static cudaStream_t in_transfer_streams[STARPU_NMAXWORKERS];
 static cudaStream_t peer_transfer_streams[STARPU_MAXCUDADEVS][STARPU_MAXCUDADEVS];
 static struct cudaDeviceProp props[STARPU_MAXCUDADEVS];
-static cudaEvent_t task_events[STARPU_MAXCUDADEVS];
+static cudaEvent_t task_events[STARPU_NMAXWORKERS];
 #endif /* STARPU_USE_CUDA */
 
 void