stage2: add support for Nvptx target

sample command:

/home/guw/github/zig/stage2/bin/zig build-obj cuda_kernel.zig -target nvptx64-cuda -O ReleaseSafe
this will create a kernel.ptx

expose PtxKernel call convention from LLVM
kernels are `export fn f() callconv(.PtxKernel)`
0e1afb4d98gwenzek committed on 2/5/2022, 2:33:00 PM· committed by GitHubparentfbc06f9
12 files changedLine totals unavailable