Closed trriger closed 3 years ago
Platform: Rock Pi 4C with RK3399 OS: Ubuntu 20.04 Tools: GCC 9.3.0 with OpenMP
The error message is shown below. I think that the error may be due to the definition of GPU.
./src/network.c: In function 'get_network_output_layer_gpu': ./src/network.c:647:63: warning: implicit declaration of function 'opencl_pull_array' [-Wimplicit-function-declaration] 647 | if(l.type != REGION && l.type != YOLO && l.type != YOLO4) opencl_pull_array(l.output_gpu, l.output, l.outputs*l.batch); | ^~~~~~~~~~~~~~~~~ ./src/network.c:647:83: error: 'layer' {aka 'struct layer'} has no member named 'output_gpu'; did you mean 'output_avg'? 647 | if(l.type != REGION && l.type != YOLO && l.type != YOLO4) opencl_pull_array(l.output_gpu, l.output, l.outputs*l.batch); | ^~~~~~~~~~ | output_avg compilation terminated due to -Wfatal-errors. make: *** [Makefile:147: obj/network.o] Error 1 make: *** Waiting for unfinished jobs....
The next picture is the config of Makefile.
@trriger, can you please try the latest commit by pull repository? Thanks!
@trriger can we close this issue?
Yes, The latest version of the program runs normally. Thanks!
Platform: Rock Pi 4C with RK3399 OS: Ubuntu 20.04 Tools: GCC 9.3.0 with OpenMP
The error message is shown below. I think that the error may be due to the definition of GPU.
The next picture is the config of Makefile.