I installed nsight with cuda5.5. Everything works fine but I am trying to run opencv functions on the host to generate images.
I include opencv header path and also the libs paths that I need. When I try to compile it gives this error /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/include/emmintrin.h(274): error: identifier "__builtin_ia32_cmpsd" is undefined
Anyone knows what could be the reason? Or any way to have make opencv work with nsight eclipse?
Thanks!
I solved my issue by removing the '-D HAVE_SSE2' from the macros defined in config.mk.
If you can't do that:
See this solution. In brief, you need to compile the code using SSE2 using gcc and your CUDA code using nvcc and then link them together afterwards.
Apparently NVidia is aware of the problem and "it should be fixed soon", but I have v6.0 and the bug still exists.
Someone mentioned this problem on the NVIDIA developer forums, but nobody replied.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With