Analysis of cubin

If I have compiled file *.cubin how I can analyze it? For example, disassemble. Or at least run on the CPU?
Thanks in advance for your help.

The CUDA Binary Utilities can be used to inspect a .cubin. They can also be used to inspect a host executable that has embedded CUDA code.

Launching a .cubin is accomplished with the slightly lower-level Driver API.

Finally, if you just want to run and test a kernel it’s easier to implicitly embed and launch a kernel via the Runtime API. Just invoke your kernels with the “<<<…>>>” syntax, compile and run. The binary utilities will still work.

The Driver API is fun though. :)