src/cuda.c @@ -67,6 +67,7 @@ status = cudaMemcpy(x_gpu, x, size, cudaMemcpyHostToDevice); check_error(status); } if(!x_gpu) error("Cuda malloc failed\n"); return x_gpu; }