building CUDA9.0 samples failed on PX2.
I saw a web page and I had the same question. but it did not solve it at last,I flashed the PX2 and it still had the same error.
https://devtalk.nvidia.com/default/topic/1031736/jetson-tx2/cuda-9-0-samples-do-not-build-with-jetpack-3-2/
here are the error:
@O@ptxas info : 'device-function-maxrregcount' is a BETA feature (target: sm_35)
@O@ptxas info : 'device-function-maxrregcount' is a BETA feature (target: sm_35)
@O@ptxas info : 'device-function-maxrregcount' is a BETA feature (target: sm_35)
@O@ptxas info : 'device-function-maxrregcount' is a BETA feature (target: sm_35)
@O@ptxas info : 'device-function-maxrregcount' is a BETA feature (target: sm_35)
@O@ptxas info : 'device-function-maxrregcount' is a BETA feature (target: sm_35)
@O@ptxas info : 'device-function-maxrregcount' is a BETA feature (target: sm_35)
@O@ptxas info : 'device-function-maxrregcount' is a BETA feature (target: sm_35)
@E@nvlink error : Undefined reference to 'cublasCreate_v2' in 'kernels.o' (target: sm_35)
@E@nvlink error : Undefined reference to 'cublasSgemm_v2' in 'kernels.o' (target: sm_35)
@E@nvlink error : Undefined reference to 'cublasDestroy_v2' in 'kernels.o' (target: sm_35)
Makefile:287: recipe for target 'simpleDevLibCUBLAS' failed
make[1]: *** [simpleDevLibCUBLAS] Error 255
make[1]: Leaving directory '/usr/local/cuda-9.0/samples/7_CUDALibraries/simpleDevLibCUBLAS'
Makefile:52: recipe for target '7_CUDALibraries/simpleDevLibCUBLAS/Makefile.ph_build' failed
make: *** [7_CUDALibraries/simpleDevLibCUBLAS/Makefile.ph_build] Error 2