Skip to content

Commit

Permalink
Compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyAB committed Apr 5, 2018
1 parent 943f6e8 commit f1ad9a0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/network_kernels.cu
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,13 @@ extern "C" {
#include "blas.h"
}

#ifdef OPENCV
#include "opencv2/highgui/highgui_c.h"
#endif

float * get_network_output_gpu_layer(network net, int i);
float * get_network_delta_gpu_layer(network net, int i);
float * get_network_output_gpu(network net);
#include "opencv2/highgui/highgui_c.h"

void forward_network_gpu(network net, network_state state)
{
Expand Down

0 comments on commit f1ad9a0

Please sign in to comment.