Closed Stephenfang51 closed 4 years ago
"-D_FORCE_INLINES "
- ask compiler for forcing inline funcs;
"-Xcompiler"
- is just to tell nvcc the non-nvcc option behind it, in the cmd is "-fPIC"
;
"-fPIC"
- loading shared library with Position-Independent Code;
@lewes6369 Thanks so much
As the following
list(APPEND CUDA_NVCC_FLAGS "-D_FORCE_INLINES -Xcompiler -fPIC")
I don't understand "-D_FORCE_INLINES -Xcompiler -fPIC"