Joseph Redmon
2016-03-16 cff59ba1353b79ec3b69059ce1b4f191540616fd
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;