everything modified to build with CUDA 5.5