Joseph Redmon
2016-03-28 0dff437a692a5f875dd0293c628ac9172f697c69
src/convolutional_kernels.cu
@@ -65,9 +65,9 @@
    }
}
void binarize_filters_gpu(float *filters, int n, int size, float *mean)
void binarize_filters_gpu(float *filters, int n, int size, float *binary)
{
    binarize_filters_kernel<<<cuda_gridsize(n), BLOCK>>>(filters, n, size, mean);
    binarize_filters_kernel<<<cuda_gridsize(n), BLOCK>>>(filters, n, size, binary);
    check_error(cudaPeekAtLastError());
}
@@ -161,13 +161,6 @@
    check_error(cudaPeekAtLastError());
}
void swap_binary(convolutional_layer *l)
{
    float *swap = l->filters_gpu;
    l->filters_gpu = l->binary_filters_gpu;
    l->binary_filters_gpu = swap;
}
void forward_convolutional_layer_gpu(convolutional_layer l, network_state state)
{
    int i;