Joseph Redmon
2016-03-14 4b2a9d9569d8ea5ddfc22626bd8720e29b0be964
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;
}