Buenas,
Al querer compilar en las maquinas unix con el siguiente comando: nvcc -arch=sm_20 -I/ens/home01/b/bruno.amaral/cudainc kernel.cu util.cpp -o ej1
Sale el error que se muestra a continuación, a alguien le paso?, como lo resolvieron?, muchas gracias:
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/usr/lib/gcc/x86_64-redhat-linux/6.3.1/include/stddef.h(436): error: identifier "nullptr" is undefined
/usr/lib/gcc/x86_64-redhat-linux/6.3.1/include/stddef.h(436): error: expected a ";"
/usr/include/c++/6.3.1/x86_64-redhat-linux/bits/c++config.h(2112): error: expected a ";"
/usr/include/c++/6.3.1/exception(63): error: expected a ";"
/usr/include/c++/6.3.1/exception(69): error: expected a ";"
/usr/include/c++/6.3.1/exception(77): error: expected a ";"
/usr/include/c++/6.3.1/exception(85): error: expected a ";"
/usr/include/c++/6.3.1/exception(95): error: expected a "{"
/usr/include/c++/6.3.1/bits/exception_ptr.h(64): error: function "std::current_exception" returns incomplete type "std::__exception_ptr::exception_ptr"
Y sigue ......