If this is a duplicate post, I apologize. I did not get any acknowledgement of my previous posting making it into the forum.
I previously have asked this question on the “Nsight, Visual Studio Edition” sub forum
A moderator told me to try the “CUDA Programming and Performance” sub-forum, as they might know better.
In short, this is the question
I have a working CUDA project which builds successfully with Visual Studio 2015.
Now I would like to modify this project, so that as result two files will be generated:
An object file (or maybe DLL) which runs exclusively on the X64 side of the PC.
It contains all X64 sections, including calls to the CUDA Driver API, but excluding any cubin or PTX code.
A cubin file which I can load with the CUDA Driver API (e.g. cuModuleLoad).
It contains all cubin instruction, but it does neither contain any X64 instructions, nor any PTX code.
I tried lots of stuff, but with little understanding.
I know that the -cubin switch generates the cubin code I want, but it disables generation of the X64 instructions I also need; so that doesn’t help.
Can somebody help me please?