NVCC is for both host and device. CUDACC should only cover the device path which leaves the NVCC optimizations in place.