Can create PTX target machine and print PTX asm

This commit is contained in:
Siu Kwan Lam 2012-08-14 16:50:32 -07:00
commit 8b273490a9
5 changed files with 101 additions and 9 deletions

View file

@ -2151,4 +2151,5 @@ if _core.LLVMInitializeNativeTargetAsmPrinter():
if True: # use PTX
_core.LLVMInitializePTXTarget()
_core.LLVMInitializePTXTargetInfo()
_core.LLVMInitializePTXTargetMC()
_core.LLVMInitializePTXAsmPrinter()