Template matching (Vpi) error in sample c++ code

Above problem occurred when the C++ code was executed, but not when the Python code was executed.

Hello,
I was just looking at your post and wondering were you using Nsight Aftermath SDK or something else?
Regards,