遇到的問題
error: kernel_cuda.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZSt4cout@@GLIBCXX_3.4’ which may bind externally can not be used when making a shared object; recompile with -fPIC
解決方法
參考:https://blog.csdn.net/qq_22764813/article/details/83008290