Linking a ptx


I’ve two source file, one is the main entry point of my cuda project and the other one is the kernel.
For profiling purpose I’d like to link my modified version of a generated ptx file against the main object.
I don’t know how to execute the linking phase.

Anyone could help me ?


nvcc -ptx
nvcc -c

linking ?

nvcc ???