Googletest and CUDA?

Hello all,

Has anyone been successful integrating the googletest framework with CUDA-based code?

If Googletest doesn’t work with CUDA, does anyone know of a good alternative for unit testing CUDA-based code ?


Found this but have no experience with it

You might want to checkout

Thank you. I will check the links out.

Have you had any issues? As far as I am aware it works just fine, although I might haven forgotten about initial teething problems.

It had some issues with compiling and linking with .cu file(s). However, all appears correct if I just create a library with the CUDA kernels in it and then have googletest call operations from there.