modified makefile, bc code of the following issue: Cuda 6.0 supports Clang as a compiler. Clang uses libc++ as the default STL library by default. The issue is Cuda 6.0 is linked against libstdc++, so you cant use c++11 in the host code