Home:ALL Converter>NVPTX opcode to hexcode in LLVM

NVPTX opcode to hexcode in LLVM

Ask Time:2016-05-10T11:44:08         Author:Ginu Jacob

Json Formatter

In LLVM, when a CUDA source file is compiled into PTX file, opcodes are generated. Now which section on LLVM converts these opcodes in PTX file to binary (hexcode) (i.e the final executable). Searching the llvm/lib/Target/NVPTX didn't give an answer to this.

Author:Ginu Jacob,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/37128919/nvptx-opcode-to-hexcode-in-llvm
yy