nvcc -g -G -arch sm_20 -c testfloat.cu -o testfloat
/usr/local/cuda/bin/…/include/thrust/detail/internal_functional.h: In function `ZN6thrust6detail26uninitialized_fill_functorI6float2Ecl
ERS2’:
/usr/local/cuda/bin/…/include/thrust/detail/internal_functional.h:478: warning: cast to pointer from integer of different size
/usr/local/cuda/bin/…/include/thrust/detail/internal_functional.h(478): Error: External calls are not supported (found non-inlined call to _ZnwmPv)
nvcc -g -G -c testfloat.cu -o testfloat
/usr/local/cuda/bin/…/include/thrust/detail/internal_functional.h: In function `ZN6thrust6detail26uninitialized_fill_functorI6float2Ecl
ERS2’:
/usr/local/cuda/bin/…/include/thrust/detail/internal_functional.h:478: warning: cast to pointer from integer of different size
nvcc -c testfloat.cu -o testfloat
// produces no warnings or errors
nvcc -g -G -arch sm_20 -c testfloat.cu -o testfloat
/usr/local/cuda/bin/…/include/thrust/detail/internal_functional.h: In function `ZN6thrust6detail26uninitialized_fill_functorI6float2Ecl
ERS2’:
/usr/local/cuda/bin/…/include/thrust/detail/internal_functional.h:478: warning: cast to pointer from integer of different size
/usr/local/cuda/bin/…/include/thrust/detail/internal_functional.h(478): Error: External calls are not supported (found non-inlined call to _ZnwmPv)
nvcc -g -G -c testfloat.cu -o testfloat
/usr/local/cuda/bin/…/include/thrust/detail/internal_functional.h: In function `ZN6thrust6detail26uninitialized_fill_functorI6float2Ecl
ERS2’:
/usr/local/cuda/bin/…/include/thrust/detail/internal_functional.h:478: warning: cast to pointer from integer of different size
nvcc -c testfloat.cu -o testfloat
// produces no warnings or errors
I will give that a try. Unfortunately, for me, the project I am using this for does not support the newer compilers. I will verify this works and start the campaign to move to a newer compiler. Thanks.
I will give that a try. Unfortunately, for me, the project I am using this for does not support the newer compilers. I will verify this works and start the campaign to move to a newer compiler. Thanks.