Closed wywlzyzz closed 5 years ago
I added a for loop in the main function to detect images, but the time consumption of cudaMemcpy in the cuda_make_array function located in cuda.cpp increased sharply, about 200 times, after the first detection.
Is there any method to solve this problem? THX.
excuse me, how much time do you cost to detect average picture? @wywlzyzz
I added a for loop in the main function to detect images, but the time consumption of cudaMemcpy in the cuda_make_array function located in cuda.cpp increased sharply, about 200 times, after the first detection.
Is there any method to solve this problem? THX.