how to config nsight for opencv+cuda?

dear everyone:
I have succeeded on running cuda sample on TX2 with Nsight Eclipse Edition.(sample:oceanFFT)
Now I want to design a project use opencv and cuda, who can tell me how to use nsiht with cross-compiling ? I could not find any example on net.
yours,
Cray Joe

Hi,

Please check this comment:
https://devtalk.nvidia.com/default/topic/1010145/jetson-tx1/how-to-use-opencv3-1-with-nvidia-nsight-/post/5157413/#5157413

Thanks.