Dynamic CUDA with NVIDIA's Runtime Compilation

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ต.ค. 2024

ความคิดเห็น • 4

  • @UtahCppProgrammers
    @UtahCppProgrammers  ปีที่แล้ว

    Example code: github.com/LegalizeAdulthood/nvrtc-example

  • @johnkost2514
    @johnkost2514 ปีที่แล้ว

    Awesome!

  • @__hannibaalbarca__
    @__hannibaalbarca__ ปีที่แล้ว

    Is there asm-like for GPU as CPU.

    • @UtahCppProgrammers
      @UtahCppProgrammers  ปีที่แล้ว

      PTX (Parallel Thread eXecution) is the assembly language for use with CUDA. When we compiled the CUDA C++ code with nvrtc without linking, the intermediate representation was PTX. The returned data is PTX text that you can examine in the debugger.
      PTX reference documentation:
      docs.nvidia.com/cuda/parallel-thread-execution/index.html