Printing from inside module/src/initialization.cpp file

asked 2013-09-26 13:10:36 -0600

mainul gravatar image

Hi, I am running codes with a opencl kernel on an arm architecture. When I run the program, it stops while calling kernel and gets timeout. I would like to know which function related to kernel is getting the error. So I want to have some printf statements inside the initialization file. I added some lines and recompile opencv but while running the program nothing is printed from initialization file. can anyone help me how I can make initialization file to print something?

edit retag flag offensive close merge delete


Have you tried to print to STDERR?

fprintf(stderr, ...);

Andrey Pavlenko gravatar imageAndrey Pavlenko ( 2013-09-27 06:44:34 -0600 )edit