Is there an assembly language for CUDA?

前端 未结 3 497
面向向阳花
面向向阳花 2020-12-13 10:13

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

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-13 10:54

    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.

提交回复
热议问题