CUDA SASS to Cubin

邮差的信 提交于 2019-12-02 04:42:53

There are no "assemblers" provided as part of the official NVIDIA CUDA toolchain. The NVIDIA toolchain can take CUDA C/C++, or PTX, and convert it to a cubin or other executable format.

However there are some community-developed assemblers:

Perhaps the most recent one at this time (probably the only one worth considering at this time) is maxas.

There also was an older one asfermi developed in the Fermi generation of CUDA GPUs. I don't think it has been updated or maintained.

I would like to add that depending on the architecture (maxwell/kepler etc), you can use a community developed assembler/dissembler to convert the SASS back to Cubin. Here are some:

Maxas: https://github.com/NervanaSystems/maxas

KeplerAs: https://github.com/PAA-NCIC/PPoPP2017_artifact/tree/master/KeplerAs

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!