Continuation of the discussion here.
There are several nvcc specific compiler flags in cmake, and a number of instances with nvcc specific cuda code.