Alex Rivera | Logout

Is there an assembly language for CUDA?

Asked 2011-09-08T19:03:23.360
28

I'm asking this because I know there's a way to use binary files instead of source files.

Also, I'm guessing that with an assembly language, it would be easier to simulate function pointers. Unless the assembly on a GPU is totally different from the one on a CPU.

Edit
Report

1 Answer

37

You might want to take a look at PTX. NVIDIA provides a document describing it in the CUDA 4.0 documentation.

http://developer.nvidia.com/nvidia-gpu-computing-documentation

NVIDIA describes PTX as "Ta low-level parallel thread execution virtual machine and instruction set architecture (ISA). PTX exposes the GPU as a data-parallel computing device." Not exactly like x86 assembly, but you might find it interesting reading.

answered 2011-09-08T20:39:44.363

Your Answer