mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Compile fix
This commit is contained in:
@ -637,6 +637,8 @@ void binary_align_weights(convolutional_layer *l)
|
||||
check_error(status);
|
||||
status = cudaMemcpy(l->align_bit_weights_gpu, l->align_bit_weights, l->align_bit_weights_size, cudaMemcpyHostToDevice);
|
||||
check_error(status);
|
||||
status = cudaMemcpy(l->binary_weights_gpu, l->binary_weights, m*k*sizeof(float), cudaMemcpyHostToDevice);
|
||||
check_error(status);
|
||||
|
||||
l->mean_arr_gpu = cuda_make_array(l->mean_arr, l->n);
|
||||
cudaDeviceSynchronize();
|
||||
|
Reference in New Issue
Block a user