Generate fatbins programmatically

Hello!

Is there any way to generate fatbins programmatically without using nvcc? I am trying to generate fatbins from built PTX for Rust-CUDA but i found no way of doing so. I tried both the ptx-compiler APIs and the CUDA Driver API linker APIs, but neither seems to have a way to output fatbins, only cubins. Is there a way to do this outside of invoking nvcc? Including the ability to pack PTX and SASS into the fatbin.

Ah it seems the fatbinary bin shipped in the sdk is the only way to do it, wish there was a C API for it, but a binary is okay too.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.