linking 2 cubin files

Hi
I’m having trouble getting two cubin files to link, one was created using regular cuda driver API and the other with handcoded PTX. I want the driver file to call some (device)methods from the PTX file, but I can’t even get the driver file to compile since it can’t find the methods specified in the PTX file. So how can I connect these two files together? I’m using cuda 2 on Linux.

thx
Dan Lavigne

AFAIK, you cannot ‘link’ .cubin files.
You may try compile your .cu file into .ptx, then combine two .ptx files somehow and feed result to ptxas.