Joseph Redmon
2016-03-28 0dff437a692a5f875dd0293c628ac9172f697c69
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;
}