CUDA 5.5 with C++11

I am running CentOS 6.5 with devtoolset-1.1, kernel 2.6.22, gcc 4.7.2, and CUDA 5.5. I am trying to compile a .cu file with the use of C++11’s nullptr. When I compile a .cu file with a reference to nullptr, nvcc errors with a nullptr undefined error. When the code is placed in a .cpp file, it compiles. Here is my sample code:

void testNullptr()
{
float const * d_inputImg;
if (nullptr == d_inputImg)
{
}
}

CUDA 5.5 does not support all C+11 functions, in fact, it may not support many of them. Try CUDA 6.0 RC, and see if support has been added for a particular function. If not, you could file a request for enhancement (RFE) under the CUDA Registered Developer portal.