Fixed some compilation problems with nvcc + clang
2 files changed