Joseph Redmon
2016-01-28 b711627e84d2245e31a3b71d9e1119db49d6287c
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;
}