You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating boost to the most recent version, nvcc now complains when it tries to compile gpuxi :
$ nvcc -o build/gpuxi -m64 -arch=sm_20 src/gpuxi.cu -llikely -lboost_program_options
/usr/local/include/boost/assert.hpp:102: error: 'noinline' was not declared in this scope
/usr/local/include/boost/any.hpp: In member function 'void boost::any::clear()':
/usr/local/include/boost/any.hpp:149: error: expected primary-expression before 'class'
/usr/local/include/boost/any.hpp:149: error: expected `;' before 'class'
scons: *** [build/gpuxi] Error 1
Found a work around for first error, add "-DBOOST_NOINLINE=__attribute__ ((noinline))"
:
nvcc -o build/gpuxi -m64 -arch=sm_20 "-DBOOST_NOINLINE=__attribute__ ((noinline))" src/gpuxi.cu -llikely -lboost_program_options
/usr/local/include/boost/any.hpp: In member function 'void boost::any::clear()':
/usr/local/include/boost/any.hpp:149: error: expected primary-expression before 'class'
/usr/local/include/boost/any.hpp:149: error: expected `;' before 'class'
scons: *** [build/gpuxi] Error 1
The text was updated successfully, but these errors were encountered:
After updating boost to the most recent version, nvcc now complains when it tries to compile gpuxi :
Found a work around for first error, add
"-DBOOST_NOINLINE=__attribute__ ((noinline))"
:
The text was updated successfully, but these errors were encountered: