I’m wondering if there is a simple way to convert a cubin file to an object file?
I need this because I want to run the edited cubin file on GPU. I know one way to do it is to use driver API functions. But it seems too complicated for my purpose.
I know I can do “nvcc -cubin myfile.cu” to compile myfile.cu to myfile.cubin, then I edit the cubin file (delete instructions, add instructions, etc, BTW, I know what the instructions mean by using decuda), I just need something further to convert the edited cubin file to an object file.