First sorry my english.
Second this my question:
So I use the CUDA 4.0 arch. with a Compute_Capability 2.0 device (GTX460).
What are the differents between the cubin and the ptx file?
I think the cubin is a native code for the gpu so this is arch. specific, and the ptx is an intermediate language that run on Fermi devices (e.g. Geforce GTX 460) via JIT compilation. When I compiling a cu source, I can choose between the ptx or cubin target. If I want the cubin file I choose the “code=sm_20” but if I want a ptx file I use the “code=compute_20”.
Is it correct?