View Single Post
Old 2020-01-12, 16:47   #5
chris2be8
 
chris2be8's Avatar
 
Sep 2009

7B916 Posts
Default

The thing you need to do is remove -Xptxas -abi=no from NVCCFLAGS. -Xptxas tells nvcc that the parameter following it is to be passed to ptxas. Similarly -Xcompiler for parameters passed to the C compiler. So if you just remove -abi=no nvcc will take the next parameter, -Xcompiler, as to be passed to ptxas, then complain about -fPIC. This took me a while to figure out (eventually finding and reading the right manual cracked it).

I hope this saves someone a bit of puzzling.

Chris
chris2be8 is offline   Reply With Quote